|
MathLib
|

Assert values are equal | |
| void | CHECK_IF_EQUAL (float input, float near_to, float tolerance=0.0002f) |
| void | CHECK_IF_EQUAL (double input, double near_to, double tolerance=0.0002) |
| void | CHECK_IF_EQUAL (long double input, long double near_to, long double tolerance=0.0002l) |
Assert values are not equal | |
| void | CHECK_IF_NOT_EQUAL (float input, float near_to, float tolerance=0.0002f) |
| void | CHECK_IF_NOT_EQUAL (double input, double near_to, double tolerance=0.0002) |
| void | CHECK_IF_NOT_EQUAL (long double input, long double near_to, long double tolerance=0.0002l) |
Assert value is zero | |
| void | CHECK_IF_ZERO (float input, float tolerance=0.0002f) |
| void | CHECK_IF_ZERO (double input, double tolerance=0.0002) |
| void | CHECK_IF_ZERO (long double input, long double tolerance=0.0002l) |
Assert | |
| template<std::floating_point OT = T> | |
| void | CHECK_IF_EQUAL (const BasicComplex< T > &input, const BasicComplex< T > &near_to, OT tolerance=OT{0.0002}) |
| template<std::floating_point OT = T> | |
| void | CHECK_IF_NOT_EQUAL (const BasicComplex< T > &input, const BasicComplex< T > &near_to, OT tolerance=OT{0.0002}) |
| template<std::floating_point OT = T> | |
| void | CHECK_IF_ZERO (const BasicComplex< T > &input, OT tolerance=OT{0.0002}) |
Assert | |
| template<std::floating_point OT = T> requires std::is_floating_point_v<T> | |
| void | CHECK_IF_EQUAL (const BasicDual< T > &input, const BasicDual< T > &near_to, OT tolerance=OT{0.0002}) |
| template<std::floating_point OT = T> requires std::is_floating_point_v<T> | |
| void | CHECK_IF_NOT_EQUAL (const BasicDual< T > &input, const BasicDual< T > &near_to, OT tolerance=OT{0.0002}) |
| template<std::floating_point OT = T> requires std::is_floating_point_v<T> | |
| void | CHECK_IF_ZERO (const BasicDual< T > &input, OT tolerance=OT{0.0002}) |
Assert | |
| template<std::floating_point OT = float> | |
| void | CHECK_IF_EQUAL (const BasicDualQuaternion< T > &input, const BasicDualQuaternion< T > &near_to, OT tolerance=OT{0.0002}) |
| template<std::floating_point OT = float> | |
| void | CHECK_IF_NOT_EQUAL (const BasicDualQuaternion< T > &input, const BasicDualQuaternion< T > &near_to, OT tolerance=OT{0.0002}) |
| template<std::floating_point OT = float> | |
| void | CHECK_IF_ZERO (const BasicDualQuaternion< T > &input, OT tolerance=OT{0.0002}) |
Assert | |
| template<std::floating_point OT = T> requires std::is_floating_point_v<T> | |
| void | CHECK_IF_EQUAL (const BasicQuaternion< T > &input, const BasicQuaternion< T > &near_to, OT tolerance=OT{0.0002}) |
| template<std::floating_point OT = T> requires std::is_floating_point_v<T> | |
| void | CHECK_IF_NOT_EQUAL (const BasicQuaternion< T > &input, const BasicQuaternion< T > &near_to, OT tolerance=OT{0.0002}) |
| template<std::floating_point OT = T> requires std::is_floating_point_v<T> | |
| void | CHECK_IF_ZERO (const BasicQuaternion< T > &input, OT tolerance=OT{0.0002}) |
Assert | |
| template<class U , std::floating_point OT = float> requires Concept::SameUnqualified<Type, U> | |
| void | CHECK_IF_EQUAL (const BasicVector2D &input, const BasicVector2D< U > &near_to, OT tolerance=OT{0.0002}) |
| template<class U , std::floating_point OT = float> requires Concept::SameUnqualified<Type, U> | |
| void | CHECK_IF_EQUAL (const BasicVector2D &input, BasicRef< U > near_to, OT tolerance=OT{0.0002}) |
| template<class U , std::floating_point OT = float> requires Concept::SameUnqualified<Type, U> | |
| void | CHECK_IF_NOT_EQUAL (const BasicVector2D &input, const BasicVector2D< U > &near_to, OT tolerance=OT{0.0002}) |
| template<class U , std::floating_point OT = float> requires Concept::SameUnqualified<Type, U> | |
| void | CHECK_IF_NOT_EQUAL (const BasicVector2D &input, BasicRef< U > near_to, OT tolerance=OT{0.0002}) |
| template<std::floating_point OT = float> | |
| void | CHECK_IF_ZERO (const BasicVector2D &input, OT tolerance=OT{0.0002}) |
Assert | |
| template<class U , std::floating_point OT = float> requires Concept::SameUnqualified<Type, U> | |
| void | CHECK_IF_EQUAL (const BasicVector3D &input, const BasicVector3D< U > &near_to, OT tolerance=OT{0.0002}) |
| template<class U , std::floating_point OT = float> requires Concept::SameUnqualified<Type, U> | |
| void | CHECK_IF_EQUAL (const BasicVector3D &input, BasicRef< U > near_to, OT tolerance=OT{0.0002}) |
| template<class U , std::floating_point OT = float> requires Concept::SameUnqualified<Type, U> | |
| void | CHECK_IF_NOT_EQUAL (const BasicVector3D &input, const BasicVector3D< U > &near_to, OT tolerance=OT{0.0002}) |
| template<class U , std::floating_point OT = float> requires Concept::SameUnqualified<Type, U> | |
| void | CHECK_IF_NOT_EQUAL (const BasicVector3D &input, BasicRef< U > near_to, OT tolerance=OT{0.0002}) |
| template<std::floating_point OT = float> | |
| void | CHECK_IF_ZERO (const BasicVector3D< Type > &input, OT tolerance=OT{0.0002}) |
Assert | |
| template<class U , std::floating_point OT = float> requires Concept::SameUnqualified<Type, U> | |
| void | CHECK_IF_EQUAL (const BasicVector4D &input, const BasicVector4D< U > &near_to, OT tolerance=OT{0.0002}) |
| template<class U , std::floating_point OT = float> requires Concept::SameUnqualified<Type, U> | |
| void | CHECK_IF_EQUAL (const BasicVector4D &input, BasicRef< U > near_to, OT tolerance=OT{0.0002}) |
| template<class U , std::floating_point OT = float> requires Concept::SameUnqualified<Type, U> | |
| void | CHECK_IF_NOT_EQUAL (const BasicVector4D &input, const BasicVector4D< U > &near_to, OT tolerance=OT{0.0002}) |
| template<class U , std::floating_point OT = float> requires Concept::SameUnqualified<Type, U> | |
| void | CHECK_IF_NOT_EQUAL (const BasicVector4D &input, BasicRef< U > near_to, OT tolerance=OT{0.0002}) |
| template<std::floating_point OT = float> | |
| void | CHECK_IF_ZERO (const BasicVector4D< Type > &input, OT tolerance=OT{0.0002}) |
Assert that two values are equal with a tolerance and prints debug information when false and then exits
| input | The first value to compare |
| near_to | The second value to compare |
| tolerance | The minimum value for being considered equal |
Assert that two values are not equal with a tolerance and prints debug information when false and then exits
| input | The first value to compare |
| near_to | The second value to compare |
| tolerance | The minimum value for being considered equal |
Assert that a number is zero within a tolerance and prints debug information when false and then exits
| input | The first value to compare |
| near_to | The second value to compare |
| tolerance | The minimum value for being considered equal |
|
inline |
#include <lib/include/Math/math/Checks.hpp>
Definition at line 132 of file Checks.hpp.
|
inline |
#include <lib/include/Math/math/Checks.hpp>
Definition at line 127 of file Checks.hpp.
|
inline |
#include <lib/include/Math/math/Checks.hpp>
Definition at line 137 of file Checks.hpp.
|
inline |
#include <lib/include/Math/math/Checks.hpp>
Definition at line 163 of file Checks.hpp.
|
inline |
#include <lib/include/Math/math/Checks.hpp>
Definition at line 158 of file Checks.hpp.
|
inline |
#include <lib/include/Math/math/Checks.hpp>
Definition at line 168 of file Checks.hpp.
|
inline |
#include <lib/include/Math/math/Checks.hpp>
Definition at line 194 of file Checks.hpp.
|
inline |
#include <lib/include/Math/math/Checks.hpp>
Definition at line 189 of file Checks.hpp.
|
inline |
#include <lib/include/Math/math/Checks.hpp>
Definition at line 199 of file Checks.hpp.
|
friend |
#include <lib/include/Math/math/Complex.hpp>
Compare two values for equality with a tolerance and causes an assertion when false
| input | The first value to compare |
| near_to | The second value to compare |
| tolerance | The minimum value for being considered equal |
true if the two are equal within tolerance , false otherwise Definition at line 406 of file Complex.hpp.
|
friend |
#include <lib/include/Math/math/Dual.hpp>
Compare two values for equality with a tolerance and causes an assertion when false
| input | The first value to compare |
| near_to | The second value to compare |
| tolerance | The minimum value for being considered equal |
true if the two are equal within tolerance , false otherwise
|
friend |
#include <lib/include/Math/math/DualQuaternion.hpp>
Compare two values for equality with a tolerance and causes an assertion when false
| input | The first value to compare |
| near_to | The second value to compare |
| tolerance | The minimum value for being considered equal |
true if the two are equal within tolerance , false otherwise Definition at line 536 of file DualQuaternion.hpp.
|
friend |
#include <lib/include/Math/math/Quaternion.hpp>
Compare two values for equality with a tolerance and causes an assertion when false
| input | The first value to compare |
| near_to | The second value to compare |
| tolerance | The minimum value for being considered equal |
true if the two are equal within tolerance , false otherwise Definition at line 501 of file Quaternion.hpp.
|
friend |
#include <lib/include/Math/math/Vector2D.hpp>
Compare two values for equality with a tolerance and causes an assertion when false
| input | The first value to compare |
| near_to | The second value to compare |
| tolerance | The minimum value for being considered equal |
true if the two are equal within tolerance , false otherwise Definition at line 1030 of file Vector2D.hpp.
|
friend |
#include <lib/include/Math/math/Vector2D.hpp>
Compare two values for equality with a tolerance and causes an assertion when false
| input | The first value to compare |
| near_to | The second value to compare |
| tolerance | The minimum value for being considered equal |
true if the two are equal within tolerance , false otherwise Definition at line 1013 of file Vector2D.hpp.
|
friend |
#include <lib/include/Math/math/Vector3D.hpp>
Compare two values for equality with a tolerance and causes an assertion when false
| input | The first value to compare |
| near_to | The second value to compare |
| tolerance | The minimum value for being considered equal |
true if the two are equal within tolerance , false otherwise Definition at line 1088 of file Vector3D.hpp.
|
friend |
#include <lib/include/Math/math/Vector3D.hpp>
Compare two values for equality with a tolerance and causes an assertion when false
| input | The first value to compare |
| near_to | The second value to compare |
| tolerance | The minimum value for being considered equal |
true if the two are equal within tolerance , false otherwise Definition at line 1071 of file Vector3D.hpp.
|
friend |
#include <lib/include/Math/math/Vector4D.hpp>
Compare two values for equality with a tolerance and causes an assertion when false
| input | The first value to compare |
| near_to | The second value to compare |
| tolerance | The minimum value for being considered equal |
true if the two are equal within tolerance , false otherwise Definition at line 1096 of file Vector4D.hpp.
|
friend |
#include <lib/include/Math/math/Vector4D.hpp>
Compare two values for equality with a tolerance and causes an assertion when false
| input | The first value to compare |
| near_to | The second value to compare |
| tolerance | The minimum value for being considered equal |
true if the two are equal within tolerance , false otherwise Definition at line 1079 of file Vector4D.hpp.
|
friend |
#include <lib/include/Math/math/Complex.hpp>
Compare two values for inequality with a tolerance and causes an assertion when false
| input | The first value to compare |
| near_to | The second value to compare |
| tolerance | The minimum value for being considered equal |
true if the two are not equal outside tolerance , false otherwise Definition at line 422 of file Complex.hpp.
|
friend |
#include <lib/include/Math/math/Dual.hpp>
Compare two values for inequality with a tolerance and causes an assertion when false
| input | The first value to compare |
| near_to | The second value to compare |
| tolerance | The minimum value for being considered equal |
true if the two are not equal outside tolerance , false otherwise
|
friend |
#include <lib/include/Math/math/DualQuaternion.hpp>
Compare two values for inequality with a tolerance and causes an assertion when false
| input | The first value to compare |
| near_to | The second value to compare |
| tolerance | The minimum value for being considered equal |
true if the two are not equal outside tolerance , false otherwise Definition at line 552 of file DualQuaternion.hpp.
|
friend |
#include <lib/include/Math/math/Quaternion.hpp>
Compare two values for inequality with a tolerance and causes an assertion when false
| input | The first value to compare |
| near_to | The second value to compare |
| tolerance | The minimum value for being considered equal |
true if the two are not equal outside tolerance , false otherwise Definition at line 518 of file Quaternion.hpp.
|
friend |
#include <lib/include/Math/math/Vector2D.hpp>
Compare two values for inequality with a tolerance and causes an assertion when false
| input | The first value to compare |
| near_to | The second value to compare |
| tolerance | The minimum value for being considered equal |
true if the two are not equal outside tolerance , false otherwise Definition at line 1064 of file Vector2D.hpp.
|
friend |
#include <lib/include/Math/math/Vector2D.hpp>
Compare two values for inequality with a tolerance and causes an assertion when false
| input | The first value to compare |
| near_to | The second value to compare |
| tolerance | The minimum value for being considered equal |
true if the two are not equal outside tolerance , false otherwise Definition at line 1047 of file Vector2D.hpp.
|
friend |
#include <lib/include/Math/math/Vector3D.hpp>
Compare two values for inequality with a tolerance and causes an assertion when false
| input | The first value to compare |
| near_to | The second value to compare |
| tolerance | The minimum value for being considered equal |
true if the two are not equal outside tolerance , false otherwise Definition at line 1122 of file Vector3D.hpp.
|
friend |
#include <lib/include/Math/math/Vector3D.hpp>
Compare two values for inequality with a tolerance and causes an assertion when false
| input | The first value to compare |
| near_to | The second value to compare |
| tolerance | The minimum value for being considered equal |
true if the two are not equal outside tolerance , false otherwise Definition at line 1105 of file Vector3D.hpp.
|
friend |
#include <lib/include/Math/math/Vector4D.hpp>
Compare two values for inequality with a tolerance and causes an assertion when false
| input | The first value to compare |
| near_to | The second value to compare |
| tolerance | The minimum value for being considered equal |
true if the two are not equal outside tolerance , false otherwise Definition at line 1130 of file Vector4D.hpp.
|
friend |
#include <lib/include/Math/math/Vector4D.hpp>
Compare two values for inequality with a tolerance and causes an assertion when false
| input | The first value to compare |
| near_to | The second value to compare |
| tolerance | The minimum value for being considered equal |
true if the two are not equal outside tolerance , false otherwise Definition at line 1113 of file Vector4D.hpp.
|
friend |
#include <lib/include/Math/math/Complex.hpp>
Compare a value to near zero
| input | The first value to compare |
| tolerance | The minimum value for being considered equal |
true if input is inside tolerance , false otherwise Definition at line 439 of file Complex.hpp.
|
friend |
#include <lib/include/Math/math/Dual.hpp>
Compare a value to near zero
| input | The first value to compare |
| tolerance | The minimum value for being considered equal |
true if input is inside tolerance , false otherwise
|
friend |
#include <lib/include/Math/math/DualQuaternion.hpp>
Compare a value to near zero
| input | The first value to compare |
| tolerance | The minimum value for being considered equal |
true if input is inside tolerance , false otherwise Definition at line 567 of file DualQuaternion.hpp.
|
friend |
#include <lib/include/Math/math/Quaternion.hpp>
Compare a value to near zero
| input | The first value to compare |
| tolerance | The minimum value for being considered equal |
true if input is inside tolerance , false otherwise Definition at line 534 of file Quaternion.hpp.
|
friend |
#include <lib/include/Math/math/Vector2D.hpp>
Compare a value to near zero
| input | The first value to compare |
| tolerance | The minimum value for being considered equal |
true if input is inside tolerance , false otherwise Definition at line 1079 of file Vector2D.hpp.
|
friend |
#include <lib/include/Math/math/Vector3D.hpp>
Compare a value to near zero
| input | The first value to compare |
| tolerance | The minimum value for being considered equal |
true if input is inside tolerance , false otherwise Definition at line 1137 of file Vector3D.hpp.
|
friend |
#include <lib/include/Math/math/Vector4D.hpp>
Compare a value to near zero
| input | The first value to compare |
| tolerance | The minimum value for being considered equal |
true if input is inside tolerance , false otherwise Definition at line 1145 of file Vector4D.hpp.