|
template<typename T > |
vector_view< T > | make_vector_view (T *data, const std::size_t size, const std::size_t offset=0) |
|
template<typename T > |
vector_view< T > | make_vector_view (std::vector< T > &v, const std::size_t size, const std::size_t offset=0) |
|
template<typename StringView > |
std::string | to_str (const StringView &view) |
|
template<typename FunctionType > |
void | enable_zero_parameters (FunctionType &func) |
|
template<typename FunctionType > |
void | disable_zero_parameters (FunctionType &func) |
|
template<typename FunctionType > |
void | enable_has_side_effects (FunctionType &func) |
|
template<typename FunctionType > |
void | disable_has_side_effects (FunctionType &func) |
|
template<typename FunctionType > |
void | set_min_num_args (FunctionType &func, const std::size_t &num_args) |
|
template<typename FunctionType > |
void | set_max_num_args (FunctionType &func, const std::size_t &num_args) |
|
template<typename T > |
bool | is_valid (const expression< T > &expr) |
|
template<typename Allocator , template< typename, typename > class Sequence> |
bool | collect_variables (const std::string &expression, Sequence< std::string, Allocator > &symbol_list) |
|
template<typename T , typename Allocator , template< typename, typename > class Sequence> |
bool | collect_variables (const std::string &expression, exprtk::symbol_table< T > &extrnl_symbol_table, Sequence< std::string, Allocator > &symbol_list) |
|
template<typename Allocator , template< typename, typename > class Sequence> |
bool | collect_functions (const std::string &expression, Sequence< std::string, Allocator > &symbol_list) |
|
template<typename T , typename Allocator , template< typename, typename > class Sequence> |
bool | collect_functions (const std::string &expression, exprtk::symbol_table< T > &extrnl_symbol_table, Sequence< std::string, Allocator > &symbol_list) |
|
template<typename T > |
T | integrate (const expression< T > &e, T &x, const T &r0, const T &r1, const std::size_t number_of_intervals=1000000) |
|
template<typename T > |
T | integrate (const expression< T > &e, const std::string &variable_name, const T &r0, const T &r1, const std::size_t number_of_intervals=1000000) |
|
template<typename T > |
T | derivative (const expression< T > &e, T &x, const T &h=T(0.00000001)) |
|
template<typename T > |
T | second_derivative (const expression< T > &e, T &x, const T &h=T(0.00001)) |
|
template<typename T > |
T | third_derivative (const expression< T > &e, T &x, const T &h=T(0.0001)) |
|
template<typename T > |
T | derivative (const expression< T > &e, const std::string &variable_name, const T &h=T(0.00000001)) |
|
template<typename T > |
T | second_derivative (const expression< T > &e, const std::string &variable_name, const T &h=T(0.00001)) |
|
template<typename T > |
T | third_derivative (const expression< T > &e, const std::string &variable_name, const T &h=T(0.0001)) |
|
template<typename T > |
bool | compute (const std::string &expression_string, T &result) |
|
template<typename T > |
bool | compute (const std::string &expression_string, const T &x, T &result) |
|
template<typename T > |
bool | compute (const std::string &expression_string, const T &x, const T &y, T &result) |
|
template<typename T > |
bool | compute (const std::string &expression_string, const T &x, const T &y, const T &z, T &result) |
|
template<typename T > |
bool | pgo_primer () |
|
◆ loop_runtime_check_ptr
◆ collect_functions() [1/2]
template<typename T , typename Allocator , template< typename, typename > class Sequence>
◆ collect_functions() [2/2]
template<typename Allocator , template< typename, typename > class Sequence>
◆ collect_variables() [1/2]
template<typename T , typename Allocator , template< typename, typename > class Sequence>
◆ collect_variables() [2/2]
template<typename Allocator , template< typename, typename > class Sequence>
◆ compute() [1/4]
template<typename T >
bool exprtk::compute |
( |
const std::string & |
expression_string, |
|
|
const T & |
x, |
|
|
const T & |
y, |
|
|
const T & |
z, |
|
|
T & |
result |
|
) |
| |
|
inline |
◆ compute() [2/4]
template<typename T >
bool exprtk::compute |
( |
const std::string & |
expression_string, |
|
|
const T & |
x, |
|
|
const T & |
y, |
|
|
T & |
result |
|
) |
| |
|
inline |
◆ compute() [3/4]
template<typename T >
bool exprtk::compute |
( |
const std::string & |
expression_string, |
|
|
const T & |
x, |
|
|
T & |
result |
|
) |
| |
|
inline |
◆ compute() [4/4]
◆ derivative() [1/2]
template<typename T >
T exprtk::derivative |
( |
const expression< T > & |
e, |
|
|
const std::string & |
variable_name, |
|
|
const T & |
h = T(0.00000001) |
|
) |
| |
|
inline |
◆ derivative() [2/2]
template<typename T >
T exprtk::derivative |
( |
const expression< T > & |
e, |
|
|
T & |
x, |
|
|
const T & |
h = T(0.00000001) |
|
) |
| |
|
inline |
◆ disable_has_side_effects()
template<typename FunctionType >
void exprtk::disable_has_side_effects |
( |
FunctionType & |
func | ) |
|
◆ disable_zero_parameters()
template<typename FunctionType >
void exprtk::disable_zero_parameters |
( |
FunctionType & |
func | ) |
|
◆ enable_has_side_effects()
template<typename FunctionType >
void exprtk::enable_has_side_effects |
( |
FunctionType & |
func | ) |
|
◆ enable_zero_parameters()
template<typename FunctionType >
void exprtk::enable_zero_parameters |
( |
FunctionType & |
func | ) |
|
◆ integrate() [1/2]
template<typename T >
T exprtk::integrate |
( |
const expression< T > & |
e, |
|
|
const std::string & |
variable_name, |
|
|
const T & |
r0, |
|
|
const T & |
r1, |
|
|
const std::size_t |
number_of_intervals = 1000000 |
|
) |
| |
|
inline |
◆ integrate() [2/2]
template<typename T >
T exprtk::integrate |
( |
const expression< T > & |
e, |
|
|
T & |
x, |
|
|
const T & |
r0, |
|
|
const T & |
r1, |
|
|
const std::size_t |
number_of_intervals = 1000000 |
|
) |
| |
|
inline |
◆ is_valid()
◆ make_vector_view() [1/2]
template<typename T >
vector_view< T > exprtk::make_vector_view |
( |
std::vector< T > & |
v, |
|
|
const std::size_t |
size, |
|
|
const std::size_t |
offset = 0 |
|
) |
| |
|
inline |
◆ make_vector_view() [2/2]
template<typename T >
vector_view< T > exprtk::make_vector_view |
( |
T * |
data, |
|
|
const std::size_t |
size, |
|
|
const std::size_t |
offset = 0 |
|
) |
| |
|
inline |
◆ pgo_primer()
template<typename T >
bool exprtk::pgo_primer |
( |
| ) |
|
|
inline |
References exprtk::symbol_table< T >::add_constants(), exprtk::symbol_table< T >::add_variable(), exprtk::parser< T >::compile(), else_stmt, exprtk::details::is_true(), exprtk::details::numeric::nequal(), exprtk::details::numeric::pow(), exprtk::details::numeric::process(), exprtk::expression< T >::register_symbol_table(), string, exprtk::expression< T >::value(), exprtk::details::x(), and exprtk::details::z.
◆ second_derivative() [1/2]
template<typename T >
T exprtk::second_derivative |
( |
const expression< T > & |
e, |
|
|
const std::string & |
variable_name, |
|
|
const T & |
h = T(0.00001) |
|
) |
| |
|
inline |
◆ second_derivative() [2/2]
template<typename T >
T exprtk::second_derivative |
( |
const expression< T > & |
e, |
|
|
T & |
x, |
|
|
const T & |
h = T(0.00001) |
|
) |
| |
|
inline |
◆ set_max_num_args()
template<typename FunctionType >
void exprtk::set_max_num_args |
( |
FunctionType & |
func, |
|
|
const std::size_t & |
num_args |
|
) |
| |
◆ set_min_num_args()
template<typename FunctionType >
void exprtk::set_min_num_args |
( |
FunctionType & |
func, |
|
|
const std::size_t & |
num_args |
|
) |
| |
◆ third_derivative() [1/2]
template<typename T >
T exprtk::third_derivative |
( |
const expression< T > & |
e, |
|
|
const std::string & |
variable_name, |
|
|
const T & |
h = T(0.0001) |
|
) |
| |
|
inline |
◆ third_derivative() [2/2]
template<typename T >
T exprtk::third_derivative |
( |
const expression< T > & |
e, |
|
|
T & |
x, |
|
|
const T & |
h = T(0.0001) |
|
) |
| |
|
inline |
◆ to_str()
template<typename StringView >
|