| DoubleSymCsrSparseMatrixAdd(DoubleSymCsrSparseMatrix, DoubleSymCsrSparseMatrix, Double) 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 DoubleSymCsrSparseMatrix Add(
DoubleSymCsrSparseMatrix A,
DoubleSymCsrSparseMatrix B,
double beta
)
Public Shared Function Add (
A As DoubleSymCsrSparseMatrix,
B As DoubleSymCsrSparseMatrix,
beta As Double
) As DoubleSymCsrSparseMatrix
public:
static DoubleSymCsrSparseMatrix^ Add(
DoubleSymCsrSparseMatrix^ A,
DoubleSymCsrSparseMatrix^ B,
double beta
)
static member Add :
A : DoubleSymCsrSparseMatrix *
B : DoubleSymCsrSparseMatrix *
beta : float -> DoubleSymCsrSparseMatrix
Parameters
- A DoubleSymCsrSparseMatrix
- A symmetric sparse matrix.
- B DoubleSymCsrSparseMatrix
- A symmetric sparse matrix.
- beta Double
- A scalar.
Return Value
DoubleSymCsrSparseMatrixSparse matrix representation of
A +
beta*
BSee Also