Matrix<T>.SubtractAsLeftCore Method

Subtracts a scalar from a matrix.

Definition

Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
C#
protected virtual Matrix<T> SubtractAsLeftCore(
	T value,
	Matrix<T>? result
)

Parameters

value  T
The constant.
result  Matrix<T>
The matrix that is to hold the result. May be null.

Return Value

Matrix<T>
A matrix whose elements are the difference between the corresponding elements of this matrix and value.

See Also