| FloatVectorInequality 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
Syntax public static bool operator !=(
FloatVector v,
FloatVector w
)
Public Shared Operator <> (
v As FloatVector,
w As FloatVector
) As Boolean
public:
static bool operator !=(
FloatVector^ v,
FloatVector^ w
)
static let inline (<>)
v : FloatVector *
w : FloatVector : bool
Parameters
- v FloatVector
- The left-hand vector.
- w FloatVector
- The right-hand vector.
Return Value
BooleanTrue 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.
See Also