Tests for inequality of two vectors. Two vectors are unequal
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 !=( DoubleVector v, DoubleVector w ) |
| Visual Basic (Declaration) |
|---|
Public Shared Operator <> ( _ v As DoubleVector, _ w As DoubleVector _ ) As Boolean |
| Visual C++ |
|---|
public: static bool operator !=( DoubleVector^ v, DoubleVector^ w ) |
Parameters
- v
- Type: CenterSpace.NMath.Core..::.DoubleVector
The left-hand vector.
- w
- Type: CenterSpace.NMath.Core..::.DoubleVector
The right-hand vector.
Return Value
True if the vectors are of different dimensions, contain different values, or are not both null; otherwise, false.
Remarks
The comparison of the values is done using operator== for
doubles. Therefore, the values of the vectors must be exactly equal for
this method to return false.