approx

Generic template to check approx method on different sets of data.

Members

Functions

approx
bool approx(T a, T b, Args args)

Apply method on scalar

approx
bool approx(T[N] v1, T[N] v2, Args args)
bool approx(Vec!(T, N) v1, Vec!(T, N) v2, Args args)

Apply method check on vectors

approx
bool approx(T[] arr1, T[] arr2, Args args)

Apply method check on arrays

approx
bool approx(T[C][R] m1, T[C][R] m2, Args args)

Apply method check on matrices

approx
bool approx(Mat!(T, R, C) m1, Mat!(T, R, C) m2, Args args)
Undocumented in source. Be warned that the author may not have intended to support it.

Meta