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