Subtracts two symmetric banded matrices.
Namespace:
CenterSpace.NMath.MatrixAssembly: NMath (in NMath.dll) Version: 5.1.0.0
Syntax
| C# |
|---|
public static DoubleSymBandMatrix operator -( DoubleSymBandMatrix A, DoubleSymBandMatrix B ) |
| Visual Basic (Declaration) |
|---|
Public Shared Operator - ( _ A As DoubleSymBandMatrix, _ B As DoubleSymBandMatrix _ ) As DoubleSymBandMatrix |
| Visual C++ |
|---|
public: static DoubleSymBandMatrix^ operator -( DoubleSymBandMatrix^ A, DoubleSymBandMatrix^ B ) |
Parameters
- A
- Type: CenterSpace.NMath.Matrix..::.DoubleSymBandMatrix
A symmetric banded matrix.
- B
- Type: CenterSpace.NMath.Matrix..::.DoubleSymBandMatrix
A symmetric banded matrix.
Return Value
A symmetric banded 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. |