| FloatSymCsrSparseMatrixAdd(FloatSymCsrSparseMatrix, FloatSymCsrSparseMatrix, Single) Method |
Computes the some of a symmetric 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 FloatSymCsrSparseMatrix Add(
FloatSymCsrSparseMatrix A,
FloatSymCsrSparseMatrix B,
float beta
)
Public Shared Function Add (
A As FloatSymCsrSparseMatrix,
B As FloatSymCsrSparseMatrix,
beta As Single
) As FloatSymCsrSparseMatrix
public:
static FloatSymCsrSparseMatrix^ Add(
FloatSymCsrSparseMatrix^ A,
FloatSymCsrSparseMatrix^ B,
float beta
)
static member Add :
A : FloatSymCsrSparseMatrix *
B : FloatSymCsrSparseMatrix *
beta : float32 -> FloatSymCsrSparseMatrix
Parameters
- A FloatSymCsrSparseMatrix
- A symmetric sparse matrix.
- B FloatSymCsrSparseMatrix
- A symmetric sparse matrix.
- beta Single
- A scalar.
Return Value
FloatSymCsrSparseMatrixSparse matrix representation of
A +
beta*
BSee Also