Tests for inequality of two matrices. Two matrices are not equal if they
have different dimensions or their values are not all equal.
Namespace:
CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 5.1.0.0
Syntax
| C# |
|---|
public static bool operator !=( DoubleMatrix A, DoubleMatrix B ) |
| Visual Basic (Declaration) |
|---|
Public Shared Operator <> ( _ A As DoubleMatrix, _ B As DoubleMatrix _ ) As Boolean |
| Visual C++ |
|---|
public: static bool operator !=( DoubleMatrix^ A, DoubleMatrix^ B ) |
Parameters
- A
- Type: CenterSpace.NMath.Core..::.DoubleMatrix
A matrix.
- B
- Type: CenterSpace.NMath.Core..::.DoubleMatrix
A matrix.
Return Value
True if the matrices are of different dimension or contain different values; otherwise, false. If both matrices are null, this operator returns false.
Remarks
The comparison of the values is done using operator== for
doubles. Therefore, the values of the matrices must be exactly equal for
this method to return false.