| DoubleHermCsrSparseMatrixAdd(DoubleHermCsrSparseMatrix, DoubleHermCsrSparseMatrix, DoubleComplex) Method |
Computes the some of a Hermitian 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 DoubleHermCsrSparseMatrix Add(
DoubleHermCsrSparseMatrix A,
DoubleHermCsrSparseMatrix B,
DoubleComplex beta
)
Public Shared Function Add (
A As DoubleHermCsrSparseMatrix,
B As DoubleHermCsrSparseMatrix,
beta As DoubleComplex
) As DoubleHermCsrSparseMatrix
public:
static DoubleHermCsrSparseMatrix^ Add(
DoubleHermCsrSparseMatrix^ A,
DoubleHermCsrSparseMatrix^ B,
DoubleComplex beta
)
static member Add :
A : DoubleHermCsrSparseMatrix *
B : DoubleHermCsrSparseMatrix *
beta : DoubleComplex -> DoubleHermCsrSparseMatrix
Parameters
- A DoubleHermCsrSparseMatrix
- A Hermitian sparse matrix.
- B DoubleHermCsrSparseMatrix
- A Hermitian sparse matrix.
- beta DoubleComplex
- A scalar.
Return Value
DoubleHermCsrSparseMatrixSparse matrix representation of
A +
beta*
BSee Also