 | DoubleVectorInequality Operator |
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: 7.4
Syntaxpublic static bool operator !=(
DoubleVector v,
DoubleVector w
)
Public Shared Operator <> (
v As DoubleVector,
w As DoubleVector
) As Boolean
public:
static bool operator !=(
DoubleVector^ v,
DoubleVector^ w
)
static let inline (<>)
v : DoubleVector *
w : DoubleVector : bool
Parameters
- v DoubleVector
- The left-hand vector.
- w DoubleVector
- The right-hand vector.
Return Value
BooleanTrue if the vectors are of different dimensions, contain
different values, or are not both
null;
otherwise,
false.
RemarksThe 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.
See Also