Subtracts a scalar from a matrix.
Namespace:
Extreme.Mathematics
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public static Matrix<T> operator -(
Matrix<T> matrix,
T value
)
Public Shared Operator - (
matrix As Matrix(Of T),
value As T
) As Matrix(Of T)
public:
static Matrix<T>^ operator -(
Matrix<T>^ matrix,
T value
)
static let inline (-)
matrix : Matrix<'T> *
value : 'T : Matrix<'T>
Parameters
- matrix
- Type: Extreme.MathematicsMatrixT
A matrix. - value
- Type: T
The constant.
Return Value
Type:
MatrixTA matrix whose elements are
the difference of the corresponding elements of
matrix and
value.
Reference