Click or drag to resize

FloatCsrSparseMatrixDivide Method

Divides a sparse matrix by a scalar.

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public static FloatCsrSparseMatrix Divide(
	FloatCsrSparseMatrix A,
	float s
)

Parameters

A  FloatCsrSparseMatrix
A sparse matrix.
s  Single
A scalar.

Return Value

FloatCsrSparseMatrix
A sparse matrix B where B[i,j] = A[i,j] / s.
See Also