Subtracts a lower triangular matrix from a scalar.

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

Syntax

C#
public static DoubleLowerTriMatrix Subtract(
	double s,
	DoubleLowerTriMatrix A
)
Visual Basic (Declaration)
Public Shared Function Subtract ( _
	s As Double, _
	A As DoubleLowerTriMatrix _
) As DoubleLowerTriMatrix
Visual C++
public:
static DoubleLowerTriMatrix^ Subtract(
	double s, 
	DoubleLowerTriMatrix^ A
)

Parameters

s
Type: System..::.Double
A scalar.
A
Type: CenterSpace.NMath.Matrix..::.DoubleLowerTriMatrix
A lower triangular matrix.

Return Value

A lower triangular matrix B where B[i,j] = s - A[i,j].

See Also