| FloatCsrSparseMatrixAdd(FloatCsrSparseMatrix, FloatCsrSparseMatrix, Single) Method |
Computes the some of a sparse matrix with the scalar multiple of another.
Performs the operation C = A + beta*B where
C[i,j] = A[i,j] + beta*B[i,j].
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public static FloatCsrSparseMatrix Add(
FloatCsrSparseMatrix A,
FloatCsrSparseMatrix B,
float beta
)
Public Shared Function Add (
A As FloatCsrSparseMatrix,
B As FloatCsrSparseMatrix,
beta As Single
) As FloatCsrSparseMatrix
public:
static FloatCsrSparseMatrix^ Add(
FloatCsrSparseMatrix^ A,
FloatCsrSparseMatrix^ B,
float beta
)
static member Add :
A : FloatCsrSparseMatrix *
B : FloatCsrSparseMatrix *
beta : float32 -> FloatCsrSparseMatrix
Parameters
- A FloatCsrSparseMatrix
- A sparse matrix.
- B FloatCsrSparseMatrix
- A sparse matrix.
- beta Single
- A scalar.
Return Value
FloatCsrSparseMatrixSparse matrix representation of
A +
beta*
BSee Also