Celeritas  0.5.0-56+6b053cd
Classes | Functions
ArraySoftUnit.hh File Reference
#include <cmath>
#include "corecel/Types.hh"
#include "corecel/cont/Array.hh"
#include "detail/SoftEqualTraits.hh"
This graph shows which files directly or indirectly include this file:

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.