ComplexSparseMatrixAdd Method |
Performs element-wise addition of two complex sparse matrices
A,
B of type
ComplexSparseMatrix,
Namespace: Imsl.MathAssembly: ImslCS (in ImslCS.dll) Version: 6.5.2.0
Syntax public static ComplexSparseMatrix Add(
Complex alpha,
Complex beta,
ComplexSparseMatrix A,
ComplexSparseMatrix B
)
Public Shared Function Add (
alpha As Complex,
beta As Complex,
A As ComplexSparseMatrix,
B As ComplexSparseMatrix
) As ComplexSparseMatrix
public:
static ComplexSparseMatrix^ Add(
Complex alpha,
Complex beta,
ComplexSparseMatrix^ A,
ComplexSparseMatrix^ B
)
static member Add :
alpha : Complex *
beta : Complex *
A : ComplexSparseMatrix *
B : ComplexSparseMatrix -> ComplexSparseMatrix
Parameters
- alpha
- Type: Imsl.MathComplex
A Complex scalar value applied to
ComplexSparseMatrix A.
- beta
- Type: Imsl.MathComplex
A Complex scalar value applied to
ComplexSparseMatrix B.
- A
- Type: Imsl.MathComplexSparseMatrix
A ComplexSparseMatrix matrix.
- B
- Type: Imsl.MathComplexSparseMatrix
A ComplexSparseMatrix matrix.
Return Value
Type:
ComplexSparseMatrix
A
ComplexSparseMatrix matrix representing the computed sum.
Exceptions Exception | Condition |
---|
ArgumentException | is
thrown when the matrices are not of the same size.
|
See Also