Multiplies the non-zero elements of a tridiagonal matrix by a scalar.

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

Syntax

C#
public static FloatTriDiagMatrix operator *(
	float a,
	FloatTriDiagMatrix A
)
Visual Basic (Declaration)
Public Shared Operator * ( _
	a As Single, _
	A As FloatTriDiagMatrix _
) As FloatTriDiagMatrix
Visual C++
public:
static FloatTriDiagMatrix^ operator *(
	float a, 
	FloatTriDiagMatrix^ A
)

Parameters

a
Type: System..::.Single
A scalar.
A
Type: CenterSpace.NMath.Matrix..::.FloatTriDiagMatrix
A tridiagonal matrix.

Return Value

A tridiagonal matrix, B, with the same dimensions as A, and B[i,j] = a * A[i,j] whenever j - i is less than or equal to 1, or i - j is less than or equal to 1.

See Also