C++ Mathematical Expression Toolkit (ExprTk) release
Loading...
Searching...
No Matches
Public Types | Static Public Member Functions | List of all members
exprtk::details::vec_avg_op< T > Struct Template Reference

Public Types

typedef vector_interface< T > * ivector_ptr
 

Static Public Member Functions

static T process (const ivector_ptr v)
 

Detailed Description

template<typename T>
struct exprtk::details::vec_avg_op< T >

Definition at line 16573 of file exprtk.hpp.

Member Typedef Documentation

◆ ivector_ptr

Definition at line 16575 of file exprtk.hpp.

Member Function Documentation

◆ process()

template<typename T >
static T exprtk::details::vec_avg_op< T >::process ( const ivector_ptr  v)
inlinestatic

Definition at line 16577 of file exprtk.hpp.

16578 {
16579 const T vec_size = T(v->vec()->size());
16580 return vec_add_op<T>::process(v) / vec_size;
16581 }
bool match_impl(const Iterator pattern_begin, const Iterator pattern_end, const Iterator data_begin, const Iterator data_end, const typename std::iterator_traits< Iterator >::value_type &zero_or_more, const typename std::iterator_traits< Iterator >::value_type &exactly_one)
Definition exprtk.hpp:598
static T process(const ivector_ptr v)
Definition exprtk.hpp:16378

References exprtk::details::match_impl(), exprtk::details::vec_add_op< T >::process(), exprtk::details::vector_node< T >::size(), and exprtk::details::vector_interface< T >::vec().

Here is the call graph for this function:

The documentation for this struct was generated from the following file: