Matrix.Subtract Into<T>(Matrix<T>, T, Matrix<T>) Method
Subtracts two matrices.
Definition
Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
A matrix whose elements are equal to the corresponding element of matrix minus value.
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
public static Matrix<T> SubtractInto<T>(
Matrix<T> matrix,
T value,
Matrix<T> result
)
Parameters
- matrix Matrix<T>
- The matrix to subtract from.
- value T
- The value to subtract.
- 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 equal to the corresponding element of matrix minus value.
Exceptions
Argument | matrix is null -or- result is null |
Dimension | matrix and result do not have the same length. |