| DoubleSymBandMatrixEquals Method |
Tests for equality of this matrix and another matrix.
Two matrices are equal if they have the same dimensions, upper bandwidth
and all values are equal.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public override bool Equals(
Object o
)
Public Overrides Function Equals (
o As Object
) As Boolean
public:
virtual bool Equals(
Object^ o
) override
abstract Equals :
o : Object -> bool
override Equals :
o : Object -> bool
Parameters
- o Object
- Another matrix.
Return Value
BooleanTrue if the matrices are of the same dimension, have
the same half bandwidth,
and contain the same values; otherwise,
false.
Remarks The comparison of the values is done using operator== for
double types. Therefore, the values of the matrices must be exactly equal for
this method to return true.
See Also