gfx ~master (2021-03-28T16:54:18Z)
Dub
Repo
approx.approx
gfx
math
approx
approx
Apply method check on vectors
bool
approx
(T a, T b, Args args)
bool
approx
(T[N] v1, T[N] v2, Args args)
template
approx
(ApproxMethod method)
pure @
safe
@
nogc
nothrow
bool
approx
(
T
size_t
N
Args
...
)
(
in
T
[
N
]
v1
,
in
T
[
N
]
v2
,
Args
args
)
if
(
isFloatingPoint
!
T
)
bool
approx
(Vec!(T, N) v1, Vec!(T, N) v2, Args args)
bool
approx
(T[] arr1, T[] arr2, Args args)
bool
approx
(T[C][R] m1, T[C][R] m2, Args args)
bool
approx
(Mat!(T, R, C) m1, Mat!(T, R, C) m2, Args args)
Meta
Source
See Implementation
gfx
math
approx
approx
functions
approx
Apply method check on vectors