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