Matrix.Multiply Into<T>(T, Matrix<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> MultiplyInto<T>(
T factor,
Matrix<T> matrix,
Matrix<T> result
)
Parameters
- factor T
- A number.
- matrix Matrix<T>
- A matrix.
- result Matrix<T>
- The matrix that is to hold the result. May be null.
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 |