| MatrixDMultiply Method (Double, MatrixD) |
Multiplies a matrix by a scalar.
Namespace: DigitalRune.Mathematics.AlgebraAssembly: DigitalRune.Mathematics (in DigitalRune.Mathematics.dll) Version: 1.14.0.0 (1.14.0.14427)
Syntax public static MatrixD Multiply(
double scalar,
MatrixD matrix
)
Public Shared Function Multiply (
scalar As Double,
matrix As MatrixD
) As MatrixD
public:
static MatrixD^ Multiply(
double scalar,
MatrixD^ matrix
)
static member Multiply :
scalar : float *
matrix : MatrixD -> MatrixD
Parameters
- scalar
- Type: SystemDouble
The scalar. - matrix
- Type: DigitalRune.Mathematics.AlgebraMatrixD
The matrix.
Return Value
Type:
MatrixDThe matrix with each element multiplied by
scalar.
Exceptions See Also