Click or drag to resize

DoubleCsrSparseMatrixMultiply(Double, DoubleCsrSparseMatrix) Method

Multiply a scalar and a sparse matrix.

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public static DoubleCsrSparseMatrix Multiply(
	double s,
	DoubleCsrSparseMatrix A
)

Parameters

s  Double
A scalar.
A  DoubleCsrSparseMatrix
A sparse matrix.

Return Value

DoubleCsrSparseMatrix
A sparse matrix B where B[i,j] = s * A[i,j].
See Also