| FloatCsrSparseMatrixMultiply(FloatCsrSparseMatrix, Single) Method |
Multiply a scalar and a sparse matrix.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public static FloatCsrSparseMatrix Multiply(
FloatCsrSparseMatrix A,
float s
)
Public Shared Function Multiply (
A As FloatCsrSparseMatrix,
s As Single
) As FloatCsrSparseMatrix
public:
static FloatCsrSparseMatrix^ Multiply(
FloatCsrSparseMatrix^ A,
float s
)
static member Multiply :
A : FloatCsrSparseMatrix *
s : float32 -> FloatCsrSparseMatrix
Parameters
- A FloatCsrSparseMatrix
- A sparse matrix.
- s Single
- A scalar.
Return Value
FloatCsrSparseMatrixA sparse matrix
B where
B[i,j] = A[i,j] * s.
See Also