Multiplies a matrix on the left by a DiagonalMatrix..

Namespace: Extreme.Mathematics.LinearAlgebra
Assembly: Extreme.Numerics (Extreme.Numerics)

Syntax

Visual Basic (Declaration)
Public Shared Operator * ( _
	diagonalMatrix As DiagonalMatrix, _
	matrix As Matrix _
) As Matrix
C#
public static Matrix operator * (
	DiagonalMatrix diagonalMatrix,
	Matrix matrix
)
C++
public:
static Matrix^ operator * (
	DiagonalMatrix^ diagonalMatrix, 
	Matrix^ matrix
)

Parameters

diagonalMatrix (Extreme.Mathematics.LinearAlgebra.DiagonalMatrix)
A DiagonalMatrix.
matrix (Extreme.Mathematics.LinearAlgebra.Matrix)
A Matrix.

Return Value

A Matrix that is the product of diagonalMatrix and matrix.

Remarks

The number of columns of diagonalMatrix must be equal to the number of rows of matrix. Otherwise, an exception of type DimensionMismatchException is thrown.

This method uses the BLAS routine DGEMM.

Exceptions

ExceptionCondition
ArgumentNullExceptiondiagonalMatrix is nullNothingnullptr

-or-

matrix is nullNothingnullptr

DimensionMismatchExceptionThe number of columns of diagonalMatrix does not equal the number of rows of matrix.