NotEquals


Overloaded template function to compare different data types using relative comparison. It checks whether arguments aren't equal.

You can find more information in comments below.

template<class TYPE, class FLOAT>
bool NotEquals(const TYPE a, const TYPE b, const FLOAT relative_tolerance); // Check whether the first argument isn't equal to the second one. Uses relative comparison of float values
template<class TYPE>
bool NotEquals(const TYPE a, const TYPE b, const TYPE relative_tolerance); // Check whether the first argument isn't equal to the second one. Uses relative comparison of float values
template<class TYPE, class FLOAT>
bool NotEquals(const TComplex<TYPE> &a, const TComplex<TYPE> &b, const FLOAT tolerance); // Check whether complex values aren't equal using relative comparison
template<class TYPE>
bool NotEquals(const TComplex<TYPE> &a, const TComplex<TYPE> &b, const TYPE tolerance) // Check whether complex values aren't equal using relative comparison
template<class TYPE, class FLOAT>
bool NotEquals(const TMat2<TYPE> &a, const TMat2<TYPE> &b, const FLOAT tolerance); // Check whether matrices aren't equal using relative comparison
template<class TYPE>
bool NotEquals(const TMat2<TYPE> &a, const TMat2<TYPE> &b, const TYPE tolerance); // Check whether matrices aren't equal using relative comparison
template<class TYPE, class FLOAT>
bool NotEquals(const TMat3<TYPE> &a, const TMat3<TYPE> &b, const FLOAT tolerance); // Check whether matrices aren't equal using relative comparison
template<class TYPE>
bool NotEquals(const TMat3<TYPE> &a, const TMat3<TYPE> &b, const TYPE tolerance); // Check whether matrices aren't equal using relative comparison
template<class TYPE, class FLOAT>
bool NotEquals(const TMat4<TYPE> &a, const TMat4<TYPE> &b, const FLOAT tolerance); // Check whether matrices aren't equal using relative comparison
template<class TYPE>
bool NotEquals(const TMat4<TYPE> &a, const TMat4<TYPE> &b, const TYPE tolerance); // Check whether matrices aren't equal using relative comparison
template<class TYPE, size_t ROWS, size_t COLUMNS, class FLOAT>
bool NotEquals(const TMatrix<TYPE, ROWS, COLUMNS> &a, const TMatrix<TYPE, ROWS, COLUMNS> &b, const FLOAT tolerance); // Check whether matrices aren't equal using relative comparison
template<class TYPE, size_t ROWS, size_t COLUMNS>
bool NotEquals(const TMatrix<TYPE, ROWS, COLUMNS> &a, const TMatrix<TYPE, ROWS, COLUMNS> &b, const TYPE tolerance); // Check whether matrices aren't equal using relative comparison
template<class TYPE, class FLOAT>
bool NotEquals(const TPoint<TYPE> &a, const TPoint<TYPE> &b, const FLOAT tolerance); // Check whether points aren't equal using relative comparison
template<class TYPE>
bool NotEquals(const TPoint<TYPE> &a, const TPoint<TYPE> &b, const TYPE tolerance); // Check whether points aren't equal using relative comparison
template<class TYPE, class FLOAT>
bool NotEquals(const TRect<TYPE> &a, const TRect<TYPE> &b, const FLOAT tolerance); // Check whether points aren't equal using relative comparison
template<class TYPE>
bool NotEquals(const TRect<TYPE> &a, const TRect<TYPE> &b, const TYPE tolerance); // Check whether points aren't equal using relative comparison
template<class TYPE, class FLOAT>
bool NotEquals(const TVec1<TYPE> &a, const TVec1<TYPE> &b, const FLOAT tolerance); // Check whether vectors aren't equal using relative comparison
template<class TYPE>
bool NotEquals(const TVec1<TYPE> &a, const TVec1<TYPE> &b, const TYPE tolerance); // Check whether vectors aren't equal using relative comparison
template<class TYPE, class FLOAT>
bool NotEquals(const TVec2<TYPE> &a, const TVec2<TYPE> &b, const FLOAT tolerance); // Check whether vectors aren't equal using relative comparison
template<class TYPE>
bool NotEquals(const TVec2<TYPE> &a, const TVec2<TYPE> &b, const TYPE tolerance); // Check whether vectors aren't equal using relative comparison
template<class TYPE, class FLOAT>
bool NotEquals(const TVec3<TYPE> &a, const TVec3<TYPE> &b, const FLOAT tolerance); // Check whether vectors aren't equal using relative comparison
template<class TYPE>
bool NotEquals(const TVec3<TYPE> &a, const TVec3<TYPE> &b, const TYPE tolerance); // Check whether vectors aren't equal using relative comparison
template<class TYPE, class FLOAT>
bool NotEquals(const TVec4<TYPE> &a, const TVec4<TYPE> &b, const FLOAT tolerance); // Check whether vectors aren't equal using relative comparison
template<class TYPE>
bool NotEquals(const TVec4<TYPE> &a, const TVec4<TYPE> &b, const TYPE tolerance); // Check whether vectors aren't equal using relative comparison
template<class TYPE, class FLOAT>
bool NotEquals(const TQuaternion<TYPE> &a, const TQuaternion<TYPE> &b, const FLOAT tolerance); // Check whether quaternions aren't equal using relative comparison
template<class TYPE>
bool NotEquals(const TQuaternion<TYPE> &a, const TQuaternion<TYPE> &b, const TYPE tolerance); // Check whether quaternions aren't equal using relative comparison
template<class TYPE, size_t CHANNELS, class FLOAT>
bool NotEquals(const TPixel<TYPE, CHANNELS> &a, const TPixel<TYPE, CHANNELS> &b, const FLOAT relative_tolerance); // Check whether pixels aren't equal using relative comparison
template<class TYPE, size_t CHANNELS = 4>
bool NotEquals(const TPixel<TYPE, CHANNELS> &a, const TPixel<TYPE, CHANNELS> &b, const TYPE relative_tolerance); // Check whether pixels aren't equal using relative comparison
template<class TYPE, class FLOAT>
bool NotEquals(const TPlane<TYPE> &a, const TPlane<TYPE> &b, const FLOAT tolerance); // Check whether planes aren't equal using relative comparison
template<class TYPE>
bool NotEquals(const TPlane<TYPE> &a, const TPlane<TYPE> &b, const TYPE tolerance); // Check whether planes aren't equal using relative comparison
template<class TYPE, class FLOAT>
bool NotEquals(const TRange<TYPE> &a, const TRange<TYPE> &b, const FLOAT relative_tolerance); // Check whether ranges aren't equal using relative comparison
template<class TYPE>
bool NotEquals(const TRange<TYPE> &a, const TRange<TYPE> &b, const TYPE relative_tolerance); // Check whether ranges aren't equal using relative comparison
template<class TYPE, class FLOAT, size_t SIZE, size_t ...Dimensions>
bool NotEquals(const TTensor<TYPE, SIZE, Dimensions...> &a, const TTensor<TYPE, SIZE, Dimensions...> &b, const FLOAT tolerance); // Check whether tensors aren't equal using relative comparison
template<class TYPE, size_t SIZE, size_t ...Dimensions>
bool NotEquals(const TTensor<TYPE, SIZE, Dimensions...> &a, const TTensor<TYPE, SIZE, Dimensions...> &b, const TYPE tolerance); // Check whether tensors aren't equal using relative comparison
Namespace: ntl
Include: NTL/Core/Utils.h (For non-object arguments)
NTL/Core/Complex.h (For TComplex arguments)
NTL/Core/Mat2.h (For TMat2 arguments)
NTL/Core/Mat3.h (For TMat3 arguments)
NTL/Core/Mat4.h (For TMat4 arguments)
NTL/Core/Matrix.h (For TMatrix arguments)
NTL/Core/Point.h (For TPoint arguments)
NTL/Core/Rect.h (For TRect arguments)
NTL/Core/Vec1.h (For TVec1 arguments)
NTL/Core/Vec2.h (For TVec2 arguments)
NTL/Core/Vec3.h (For TVec3 arguments)
NTL/Core/Vec4.h (For TVec4 arguments)
NTL/Core/Quaternion.h (For TQuaternion arguments)
NTL/Core/Pixel.h (For TPixel arguments)
NTL/Core/Plane.h (For TPlane arguments)
NTL/Core/Range.h (For TRange arguments)
NTL/Core/Tensor.h (For TTensor arguments)