| Matrix22FMultiply Method (Single, Matrix22F) |
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 Matrix22F Multiply(
float scalar,
Matrix22F matrix
)
Public Shared Function Multiply (
scalar As Single,
matrix As Matrix22F
) As Matrix22F
public:
static Matrix22F Multiply(
float scalar,
Matrix22F matrix
)
static member Multiply :
scalar : float32 *
matrix : Matrix22F -> Matrix22F
Parameters
- scalar
- Type: SystemSingle
The scalar. - matrix
- Type: DigitalRune.Mathematics.AlgebraMatrix22F
The matrix.
Return Value
Type:
Matrix22FThe matrix with each element multiplied by
scalar.
See Also