Multiply a scalar and a symmetric sparse matrix.

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

Syntax

C#
public static DoubleSymCsrSparseMatrix operator *(
	double s,
	DoubleSymCsrSparseMatrix A
)
Visual Basic (Declaration)
Public Shared Operator * ( _
	s As Double, _
	A As DoubleSymCsrSparseMatrix _
) As DoubleSymCsrSparseMatrix
Visual C++
public:
static DoubleSymCsrSparseMatrix^ operator *(
	double s, 
	DoubleSymCsrSparseMatrix^ A
)

Parameters

s
Type: System..::.Double
A scalar.
A
Type: CenterSpace.NMath.Matrix..::.DoubleSymCsrSparseMatrix
A symmetric sparse matrix.

Return Value

A symmetric sparse matrix B where B[i,j] = s * A[i,j].

See Also