Click or drag to resize

DoubleMatrixSubtract(Double, DoubleMatrix) Method

Subtracts a matrix from a scalar.

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public static DoubleMatrix Subtract(
	double s,
	DoubleMatrix A
)

Parameters

s  Double
A scalar.
A  DoubleMatrix
A matrix.

Return Value

DoubleMatrix
A matrix B where B[i,j] = s - A[i,j].
See Also