Click or drag to resize
DigitalRuneMatrixDMultiply Method (Double, MatrixD)
Multiplies a matrix by a scalar.

Namespace: DigitalRune.Mathematics.Algebra
Assembly: DigitalRune.Mathematics (in DigitalRune.Mathematics.dll) Version: 1.14.0.0 (1.14.0.14427)
Syntax
public static MatrixD Multiply(
	double scalar,
	MatrixD matrix
)

Parameters

scalar
Type: SystemDouble
The scalar.
matrix
Type: DigitalRune.Mathematics.AlgebraMatrixD
The matrix.

Return Value

Type: MatrixD
The matrix with each element multiplied by scalar.
Exceptions
ExceptionCondition
ArgumentNullExceptionmatrix is .
See Also