Click or drag to resize
ComplexSparseMatrixAdd Method
Performs element-wise addition of two complex sparse matrices A, B of type ComplexSparseMatrix,  C \leftarrow \alpha A + \beta B.

Namespace: Imsl.Math
Assembly: ImslCS (in ImslCS.dll) Version: 6.5.2.0
Syntax
public static ComplexSparseMatrix Add(
	Complex alpha,
	Complex beta,
	ComplexSparseMatrix A,
	ComplexSparseMatrix B
)

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
ExceptionCondition
ArgumentException is thrown when the matrices are not of the same size.
See Also