Click or drag to resize
DigitalRuneMatrixFMultiply Method (Single, MatrixF)
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 MatrixF Multiply(
	float scalar,
	MatrixF matrix
)

Parameters

scalar
Type: SystemSingle
The scalar.
matrix
Type: DigitalRune.Mathematics.AlgebraMatrixF
The matrix.

Return Value

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