Divides a banded matrix by another.
Namespace:
CenterSpace.NMath.MatrixAssembly: NMath (in NMath.dll) Version: 5.1.0.0
Syntax
| C# |
|---|
public static DoubleHermitianBandMatrix Divide( DoubleHermitianBandMatrix A, DoubleHermitianBandMatrix B ) |
| Visual Basic (Declaration) |
|---|
Public Shared Function Divide ( _ A As DoubleHermitianBandMatrix, _ B As DoubleHermitianBandMatrix _ ) As DoubleHermitianBandMatrix |
| Visual C++ |
|---|
public: static DoubleHermitianBandMatrix^ Divide( DoubleHermitianBandMatrix^ A, DoubleHermitianBandMatrix^ B ) |
Parameters
- A
- Type: CenterSpace.NMath.Matrix..::.DoubleHermitianBandMatrix
A banded matrix.
- B
- Type: CenterSpace.NMath.Matrix..::.DoubleHermitianBandMatrix
A banded matrix.
Return Value
A banded matrix C where C[i,j] = A[i,j] / B[i,j].
Remarks
The lower/upper bandwidths of the result is the lesser of the lower/upper
bandwiths of the operands.
Exceptions
| Exception | Condition |
|---|---|
| CenterSpace.NMath.Core..::.MismatchedSizeException | Thrown if the two matrices do not have the same dimensions. This exception is also thrown if the upper and lower bandwidths of the operands are such that division of a non-zero element by a zero element would occur. This will be the case if the upper bandwidth of A is greater than the upper bandwidth of B, or the lower bandwidth of A is greater than the lower bandwidth of B. |