Matrix.Subtract<T>(T, Matrix<T>) Method
Subtracts a matrix from a scalar.
Definition
Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
A matrix whose elements are the difference between the corresponding elements of matrix and value.
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
public static Matrix<T> Subtract<T>(
T value,
Matrix<T> matrix
)
Parameters
- value T
- The constant.
- matrix Matrix<T>
- A matrix.
Type Parameters
- T
Return Value
Matrix<T>A matrix whose elements are the difference between the corresponding elements of matrix and value.
Exceptions
Argument | matrix is null |