Celeritas
0.5.0-56+6b053cd
|
#include <cmath>
#include <type_traits>
#include "corecel/Macros.hh"
#include "corecel/Types.hh"
#include "corecel/cont/Array.hh"
#include "corecel/math/Algorithms.hh"
Classes | |
class | celeritas::PolyEvaluator< T, N > |
Functor class to evaluate a polynomial. More... | |
Functions | |
template<typename T , size_type N> | |
CELER_FUNCTION | celeritas::PolyEvaluator (Array< T, N > const &) -> PolyEvaluator< T, N - 1 > |
template<typename... Ts, std::enable_if_t< std::is_arithmetic_v< std::common_type_t< Ts... >>, bool > = true> | |
CELER_FUNCTION | celeritas::PolyEvaluator (Ts &&...) -> PolyEvaluator< typename std::common_type_t< Ts... >, sizeof...(Ts) - 1 > |