VR-Vantage 3.0 API Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Namespaces | Classes | Functions
exprtk Namespace Reference

Namespaces

namespace  details
namespace  lexer
namespace  parser_error
namespace  rtl
namespace  information

Classes

class  vector_view
struct  type_store
class  results_context
class  function_traits
class  ifunction
class  ivararg_function
class  igeneric_function
class  symbol_table
class  expression
class  expression_helper
class  parser
class  polynomial
class  function_compositor
class  timer

Functions

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 &expr_str, Sequence< std::string, Allocator > &symbol_list)
template<typename T , typename Allocator , template< typename, typename > class Sequence>
bool collect_variables (const std::string &expr_str, 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 &expr_str, Sequence< std::string, Allocator > &symbol_list)
template<typename T , typename Allocator , template< typename, typename > class Sequence>
bool collect_functions (const std::string &expr_str, exprtk::symbol_table< T > &extrnl_symbol_table, Sequence< std::string, Allocator > &symbol_list)
template<typename 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 >
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 >
derivative (const expression< T > &e, T &x, const T &h=T(0.00000001))
template<typename T >
second_derivative (const expression< T > &e, T &x, const T &h=T(0.00001))
template<typename T >
third_derivative (const expression< T > &e, T &x, const T &h=T(0.0001))
template<typename T >
derivative (const expression< T > &e, const std::string &variable_name, const T &h=T(0.00000001))
template<typename T >
second_derivative (const expression< T > &e, const std::string &variable_name, const T &h=T(0.00001))
template<typename 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 ()

Function Documentation

template<typename T >
vector_view<T> exprtk::make_vector_view ( T *  data,
const std::size_t  size,
const std::size_t  offset = 0 
)
inline
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
template<typename StringView >
std::string exprtk::to_str ( const StringView &  view)
inline
template<typename FunctionType >
void exprtk::enable_zero_parameters ( FunctionType &  func)
template<typename FunctionType >
void exprtk::disable_zero_parameters ( FunctionType &  func)
template<typename FunctionType >
void exprtk::enable_has_side_effects ( FunctionType &  func)
template<typename FunctionType >
void exprtk::disable_has_side_effects ( FunctionType &  func)
template<typename FunctionType >
void exprtk::set_min_num_args ( FunctionType &  func,
const std::size_t &  num_args 
)
template<typename FunctionType >
void exprtk::set_max_num_args ( FunctionType &  func,
const std::size_t &  num_args 
)
template<typename T >
bool exprtk::is_valid ( const expression< T > &  expr)
inline
template<typename Allocator , template< typename, typename > class Sequence>
bool exprtk::collect_variables ( const std::string expr_str,
Sequence< std::string, Allocator > &  symbol_list 
)
inline
template<typename T , typename Allocator , template< typename, typename > class Sequence>
bool exprtk::collect_variables ( const std::string expr_str,
exprtk::symbol_table< T > &  extrnl_symbol_table,
Sequence< std::string, Allocator > &  symbol_list 
)
inline
template<typename Allocator , template< typename, typename > class Sequence>
bool exprtk::collect_functions ( const std::string expr_str,
Sequence< std::string, Allocator > &  symbol_list 
)
inline
template<typename T , typename Allocator , template< typename, typename > class Sequence>
bool exprtk::collect_functions ( const std::string expr_str,
exprtk::symbol_table< T > &  extrnl_symbol_table,
Sequence< std::string, Allocator > &  symbol_list 
)
inline
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

References exprtk::expression< T >::value().

Referenced by integrate().

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
template<typename T >
T exprtk::derivative ( const expression< T > &  e,
T &  x,
const T &  h = T(0.00000001) 
)
inline

References exprtk::expression< T >::value().

Referenced by derivative().

template<typename T >
T exprtk::second_derivative ( const expression< T > &  e,
T &  x,
const T &  h = T(0.00001) 
)
inline
template<typename T >
T exprtk::third_derivative ( const expression< T > &  e,
T &  x,
const T &  h = T(0.0001) 
)
inline
template<typename T >
T exprtk::derivative ( const expression< T > &  e,
const std::string variable_name,
const T &  h = T(0.00000001) 
)
inline
template<typename T >
T exprtk::second_derivative ( const expression< T > &  e,
const std::string variable_name,
const T &  h = T(0.00001) 
)
inline
template<typename T >
T exprtk::third_derivative ( const expression< T > &  e,
const std::string variable_name,
const T &  h = T(0.0001) 
)
inline
template<typename T >
bool exprtk::compute ( const std::string expression_string,
T &  result 
)
inline
template<typename T >
bool exprtk::compute ( const std::string expression_string,
const T &  x,
T &  result 
)
inline
template<typename T >
bool exprtk::compute ( const std::string expression_string,
const T &  x,
const T &  y,
T &  result 
)
inline
template<typename T >
bool exprtk::compute ( const std::string expression_string,
const T &  x,
const T &  y,
const T &  z,
T &  result 
)
inline
template<typename T >
bool exprtk::pgo_primer ( )
inline


Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)