Tests for equality of two symmetric banded matrices. Two matrices are equal if they
have the same dimensions, and half bandwidth, and all values are equal.
Namespace:
CenterSpace.NMath.MatrixAssembly: NMath (in NMath.dll) Version: 5.1.0.0
Syntax
| C# |
|---|
public static bool operator ==( FloatSymBandMatrix A, FloatSymBandMatrix B ) |
| Visual Basic (Declaration) |
|---|
Public Shared Operator = ( _ A As FloatSymBandMatrix, _ B As FloatSymBandMatrix _ ) As Boolean |
| Visual C++ |
|---|
public: static bool operator ==( FloatSymBandMatrix^ A, FloatSymBandMatrix^ B ) |
Parameters
- A
- Type: CenterSpace.NMath.Matrix..::.FloatSymBandMatrix
A symmetric banded matrix.
- B
- Type: CenterSpace.NMath.Matrix..::.FloatSymBandMatrix
A symmetric banded matrix.
Return Value
True if the matrices have the same dimensions, half bandwidths, and all values are equal.
Remarks
The comparison of the values is done using operator== for
floats. Therefore, the values of the matrices must be exactly equal for
this method to return true.