Subtracts a matrix from a scalar.

Namespace:  CenterSpace.NMath.Core
Assembly:  NMath (in NMath.dll) Version: 5.1.0.0

Syntax

C#
public static void Subtract(
	float s,
	FloatMatrix A,
	FloatMatrix B
)
Visual Basic (Declaration)
Public Shared Sub Subtract ( _
	s As Single, _
	A As FloatMatrix, _
	B As FloatMatrix _
)
Visual C++
public:
static void Subtract(
	float s, 
	FloatMatrix^ A, 
	FloatMatrix^ B
)

Parameters

s
Type: System..::.Single
A scalar.
A
Type: CenterSpace.NMath.Core..::.FloatMatrix
A Matrix.
B
Type: CenterSpace.NMath.Core..::.FloatMatrix
A matrix whose contents are overwritten with the difference B[i,j] = s - A[i,j]

See Also