Celeritas
0.5.0-86+4a8eea4
|
#include <cmath>
#include "corecel/Types.hh"
#include "corecel/cont/Array.hh"
#include "detail/SoftEqualTraits.hh"
Classes | |
class | celeritas::ArraySoftUnit< T > |
Test for being approximately a unit vector. More... | |
Functions | |
template<class T > | |
CELER_FUNCTION | celeritas::ArraySoftUnit (T) -> ArraySoftUnit< T > |
template<class T , size_type N> | |
CELER_CONSTEXPR_FUNCTION bool | celeritas::is_soft_unit_vector (Array< T, N > const &v) |
Test with default tolerance for being a unit vector. | |