Divides a banded matrix by another.

Namespace:  CenterSpace.NMath.Matrix
Assembly:  NMath (in NMath.dll) Version: 5.1.0.0

Syntax

C#
public static DoubleBandMatrix Divide(
	DoubleBandMatrix A,
	DoubleBandMatrix B
)
Visual Basic (Declaration)
Public Shared Function Divide ( _
	A As DoubleBandMatrix, _
	B As DoubleBandMatrix _
) As DoubleBandMatrix
Visual C++
public:
static DoubleBandMatrix^ Divide(
	DoubleBandMatrix^ A, 
	DoubleBandMatrix^ B
)

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

ExceptionCondition
CenterSpace.NMath.Core..::.MismatchedSizeExceptionThrown 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.

See Also