Click or drag to resize

DoubleMatrixSubtract(DoubleMatrix, Double, DoubleMatrix) Method

Subtracts a scalar from a matrix.

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

Parameters

A  DoubleMatrix
A matrix.
s  Double
A scalar.
B  DoubleMatrix
A matrix whose contents are overwritten with the difference
Exceptions
ExceptionCondition
MismatchedSizeExceptionThrown if A and B do not have the same dimensions.
See Also