| DoubleComplexCsrSparseMatrixAdd(DoubleComplexCsrSparseMatrix, DoubleComplexCsrSparseMatrix, DoubleComplex) 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 DoubleComplexCsrSparseMatrix Add(
DoubleComplexCsrSparseMatrix A,
DoubleComplexCsrSparseMatrix B,
DoubleComplex beta
)
Public Shared Function Add (
A As DoubleComplexCsrSparseMatrix,
B As DoubleComplexCsrSparseMatrix,
beta As DoubleComplex
) As DoubleComplexCsrSparseMatrix
public:
static DoubleComplexCsrSparseMatrix^ Add(
DoubleComplexCsrSparseMatrix^ A,
DoubleComplexCsrSparseMatrix^ B,
DoubleComplex beta
)
static member Add :
A : DoubleComplexCsrSparseMatrix *
B : DoubleComplexCsrSparseMatrix *
beta : DoubleComplex -> DoubleComplexCsrSparseMatrix
Parameters
- A DoubleComplexCsrSparseMatrix
- A sparse matrix.
- B DoubleComplexCsrSparseMatrix
- A sparse matrix.
- beta DoubleComplex
- A scalar.
Return Value
DoubleComplexCsrSparseMatrixSparse matrix representation of
A +
beta*
BSee Also