C++ Mathematical Expression Toolkit (ExprTk) release
|
Public Types | |
typedef exprtk::igeneric_function< T > | igfun_t |
typedef igfun_t::parameter_list_t | parameter_list_t |
typedef igfun_t::generic_type | generic_type |
typedef generic_type::scalar_view | scalar_t |
typedef generic_type::vector_view | vector_t |
![]() | |
enum | return_type { e_rtrn_scalar = 0 , e_rtrn_string = 1 , e_rtrn_overload = 2 } |
typedef T | type |
typedef type_store< T > | generic_type |
typedef generic_type::parameter_list | parameter_list_t |
Public Member Functions | |
norm () | |
T | operator() (const std::size_t &ps_index, parameter_list_t parameters) |
template<unsigned int Pow> | |
T | norm_impl (const vector_t &vector, const std::size_t r0, const std::size_t r1) |
T | norm_impl (const vector_t &vector, unsigned int pow, const std::size_t r0, const std::size_t r1) |
![]() | |
igeneric_function (const std::string ¶m_seq="", const return_type rtr_type=e_rtrn_scalar) | |
virtual | ~igeneric_function () |
virtual T | operator() (parameter_list_t) |
virtual T | operator() (std::string &, parameter_list_t) |
virtual T | operator() (const std::size_t &, std::string &, parameter_list_t) |
![]() | |
function_traits () | |
bool & | allow_zero_parameters () |
bool & | has_side_effects () |
std::size_t & | min_num_args () |
std::size_t & | max_num_args () |
Additional Inherited Members | |
![]() | |
std::string | parameter_sequence |
return_type | rtrn_type |
Definition at line 29 of file exprtk_vectornorm.cpp.
typedef igfun_t::generic_type norm< T >::generic_type |
Definition at line 33 of file exprtk_vectornorm.cpp.
typedef exprtk::igeneric_function<T> norm< T >::igfun_t |
Definition at line 31 of file exprtk_vectornorm.cpp.
typedef igfun_t::parameter_list_t norm< T >::parameter_list_t |
Definition at line 32 of file exprtk_vectornorm.cpp.
typedef generic_type::scalar_view norm< T >::scalar_t |
Definition at line 34 of file exprtk_vectornorm.cpp.
typedef generic_type::vector_view norm< T >::vector_t |
Definition at line 35 of file exprtk_vectornorm.cpp.
Definition at line 39 of file exprtk_vectornorm.cpp.
|
inline |
Definition at line 98 of file exprtk_vectornorm.cpp.
References exprtk::details::numeric::pow(), exprtk::details::numeric::fast_exp< T, N >::result(), and exprtk::details::numeric::sqrt().
Referenced by norm< T >::operator()().
|
inline |
Definition at line 115 of file exprtk_vectornorm.cpp.
References exprtk::details::numeric::pow().
|
inlinevirtual |
Reimplemented from exprtk::igeneric_function< T >.
Definition at line 50 of file exprtk_vectornorm.cpp.
References norm_def, norm< T >::norm_impl(), and exprtk::type_store< T >::type_view< ViewType >::size().