Click or drag to resize

MatrixTSubtractFrom(T, MatrixT) Method

Subtracts each element of the matrix from a scalar and stores the result in the result matrix.

Namespace: Altaxo.Calc.LinearAlgebra
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public void SubtractFrom(
	T scalar,
	Matrix<T> result
)

Parameters

scalar  T
The scalar to subtract from.
result  MatrixT
The matrix to store the result of the subtraction.
Exceptions
ExceptionCondition
ArgumentExceptionIf this matrix and result are not the same size.
See Also