Adds two matrices.
Namespace:
CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 5.1.0.0
Syntax
| C# |
|---|
public static DoubleComplexMatrix operator +( DoubleComplexMatrix A, DoubleComplexMatrix B ) |
| Visual Basic (Declaration) |
|---|
Public Shared Operator + ( _ A As DoubleComplexMatrix, _ B As DoubleComplexMatrix _ ) As DoubleComplexMatrix |
| Visual C++ |
|---|
public: static DoubleComplexMatrix^ operator +( DoubleComplexMatrix^ A, DoubleComplexMatrix^ B ) |
Parameters
- A
- Type: CenterSpace.NMath.Core..::.DoubleComplexMatrix
A matrix.
- B
- Type: CenterSpace.NMath.Core..::.DoubleComplexMatrix
A matrix.
Return Value
A matrix C where C[i,j] = A[i,j] + B[i,j].
Exceptions
| Exception | Condition |
|---|---|
| CenterSpace.NMath.Core..::.MismatchedSizeException | Thrown if the two matrices do not have the same dimensions. |