Matrix<T>.Subtraction Operator
Definition
Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
Overload List
Subtraction( | Subtracts a matrix from a scalar. |
Subtraction( | Subtracts a scalar from a matrix. |
Subtraction( | Subtracts two matrices. |
Subtraction(T, Matrix<T>) Operator
Subtracts a matrix from a scalar.
public static Matrix<T> operator -(
T value,
Matrix<T> matrix
)
Parameters
Return Value
Matrix<T>A matrix whose elements are the difference between the corresponding elements of matrix and value.
Exceptions
Argument | matrix is null |
Subtraction(Matrix<T>, T) Operator
Subtracts a scalar from a matrix.
public static Matrix<T> operator -(
Matrix<T> matrix,
T value
)
Parameters
Return Value
Matrix<T>A matrix whose elements are the difference of the corresponding elements of matrix and value.
Exceptions
Argument | matrix is null |
Subtraction(Matrix<T>, Matrix<T>) Operator
Subtracts two matrices.
public static Matrix<T> operator -(
Matrix<T> left,
Matrix<T> right
)
Parameters
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. |