Matrix.Multiply<T>(T, Matrix<T>) Method
Multiplies a matrix by a scalar.
Definition
Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
A matrix whose elements are the corresponding elements of matrix multiplied by factor.
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
public static Matrix<T> Multiply<T>(
T factor,
Matrix<T> matrix
)
Parameters
- factor T
- A number.
- matrix Matrix<T>
- A matrix.
Type Parameters
- T
Return Value
Matrix<T>A matrix whose elements are the corresponding elements of matrix multiplied by factor.
Exceptions
Argument | matrix is null |