Matrix.Subtract Into<T>(Matrix<T>, Matrix<T>, Matrix<T>) Method
Subtracts one matrix from another.
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 left minus the corresponding element of right.
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
public static Matrix<T> SubtractInto<T>(
Matrix<T> left,
Matrix<T> right,
Matrix<T> result
)
Parameters
- left Matrix<T>
- The matrix to subtract from.
- right Matrix<T>
- The matrix 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 left minus the corresponding element of right.
Exceptions
Argument | left is null -or- right is null |
Dimension | left and right do not have the same length. |