C++ Mathematical Expression Toolkit (ExprTk) release
Loading...
Searching...
No Matches
Public Types | Public Member Functions | List of all members
base_func< T > Struct Template Reference
Inheritance diagram for base_func< T >:
[legend]
Collaboration diagram for base_func< T >:
[legend]

Public Types

typedef const T & type
 
typedef const T & type
 
typedef const T & type
 

Public Member Functions

 base_func (const std::size_t &n)
 
operator() (type v0, type v1, type v2, type v3, type v4)
 
operator() (type v0, type v1, type v2, type v3)
 
operator() (type v0, type v1, type v2)
 
operator() (type v0, type v1)
 
operator() (type v0)
 
operator() ()
 
 base_func (const std::size_t &n)
 
operator() (type v0, type v1, type v2, type v3, type v4)
 
operator() (type v0, type v1, type v2, type v3)
 
operator() (type v0, type v1, type v2)
 
operator() (type v0, type v1)
 
operator() (type v0)
 
operator() ()
 
 base_func (const std::size_t &n)
 
operator() (type v0, type v1, type v2, type v3, type v4)
 
operator() (type v0, type v1, type v2, type v3)
 
operator() (type v0, type v1, type v2)
 
operator() (type v0, type v1)
 
operator() (type v0)
 
operator() ()
 
- Public Member Functions inherited from exprtk::ifunction< T >
 ifunction (const std::size_t &pc)
 
virtual ~ifunction ()
 
virtual T operator() (const T &, const T &, const T &, const T &, const T &, const T &)
 
virtual T operator() (const T &, const T &, const T &, const T &, const T &, const T &, const T &)
 
virtual T operator() (const T &, const T &, const T &, const T &, const T &, const T &, const T &, const T &)
 
virtual T operator() (const T &, const T &, const T &, const T &, const T &, const T &, const T &, const T &, const T &)
 
virtual T operator() (const T &, const T &, const T &, const T &, const T &, const T &, const T &, const T &, const T &, const T &)
 
virtual T operator() (const T &, const T &, const T &, const T &, const T &, const T &, const T &, const T &, const T &, const T &, const T &)
 
virtual T operator() (const T &, const T &, const T &, const T &, const T &, const T &, const T &, const T &, const T &, const T &, const T &, const T &)
 
virtual T operator() (const T &, const T &, const T &, const T &, const T &, const T &, const T &, const T &, const T &, const T &, const T &, const T &, const T &)
 
virtual T operator() (const T &, const T &, const T &, const T &, const T &, const T &, const T &, const T &, const T &, const T &, const T &, const T &, const T &, const T &)
 
virtual T operator() (const T &, const T &, const T &, const T &, const T &, const T &, const T &, const T &, const T &, const T &, const T &, const T &, const T &, const T &, const T &)
 
virtual T operator() (const T &, const T &, const T &, const T &, const T &, const T &, const T &, const T &, const T &, const T &, const T &, const T &, const T &, const T &, const T &, const T &)
 
virtual T operator() (const T &, const T &, const T &, const T &, const T &, const T &, const T &, const T &, const T &, const T &, const T &, const T &, const T &, const T &, const T &, const T &, const T &)
 
virtual T operator() (const T &, const T &, const T &, const T &, const T &, const T &, const T &, const T &, const T &, const T &, const T &, const T &, const T &, const T &, const T &, const T &, const T &, const T &)
 
virtual T operator() (const T &, const T &, const T &, const T &, const T &, const T &, const T &, const T &, const T &, const T &, const T &, const T &, const T &, const T &, const T &, const T &, const T &, const T &, const T &)
 
virtual T operator() (const T &, const T &, const T &, const T &, const T &, const T &, const T &, const T &, const T &, const T &, const T &, const T &, const T &, const T &, const T &, const T &, const T &, const T &, const T &, const T &)
 
- Public Member Functions inherited from exprtk::function_traits
 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

- Public Attributes inherited from exprtk::ifunction< T >
std::size_t param_count
 

Detailed Description

template<typename T>
struct base_func< T >

Definition at line 5799 of file exprtk_mpfr_test.cpp.

Member Typedef Documentation

◆ type [1/3]

template<typename T >
typedef const T& base_func< T >::type

Definition at line 5803 of file exprtk_mpfr_test.cpp.

◆ type [2/3]

template<typename T >
typedef const T& base_func< T >::type

Definition at line 5800 of file exprtk_real_test.cpp.

◆ type [3/3]

template<typename T >
typedef const T& base_func< T >::type

Definition at line 5828 of file exprtk_test.cpp.

Constructor & Destructor Documentation

◆ base_func() [1/3]

template<typename T >
base_func< T >::base_func ( const std::size_t &  n)
inline

Definition at line 5804 of file exprtk_mpfr_test.cpp.

◆ base_func() [2/3]

template<typename T >
base_func< T >::base_func ( const std::size_t &  n)
inline

Definition at line 5801 of file exprtk_real_test.cpp.

◆ base_func() [3/3]

template<typename T >
base_func< T >::base_func ( const std::size_t &  n)
inline

Definition at line 5829 of file exprtk_test.cpp.

Member Function Documentation

◆ operator()() [1/18]

template<typename T >
T base_func< T >::operator() ( )
inlinevirtual

Reimplemented from exprtk::ifunction< T >.

Definition at line 5810 of file exprtk_mpfr_test.cpp.

5810{ return T("1.1234"); }

◆ operator()() [2/18]

template<typename T >
T base_func< T >::operator() ( )
inlinevirtual

Reimplemented from exprtk::ifunction< T >.

Definition at line 5807 of file exprtk_real_test.cpp.

5807{ return T(1.1234); }

◆ operator()() [3/18]

template<typename T >
T base_func< T >::operator() ( )
inlinevirtual

Reimplemented from exprtk::ifunction< T >.

Definition at line 5835 of file exprtk_test.cpp.

5835{ return T(1.1234); }

◆ operator()() [4/18]

template<typename T >
T base_func< T >::operator() ( type  v0)
inlinevirtual

Reimplemented from exprtk::ifunction< T >.

Definition at line 5809 of file exprtk_mpfr_test.cpp.

5809{ return v0; }

◆ operator()() [5/18]

template<typename T >
T base_func< T >::operator() ( type  v0)
inlinevirtual

Reimplemented from exprtk::ifunction< T >.

Definition at line 5806 of file exprtk_real_test.cpp.

5806{ return v0; }

◆ operator()() [6/18]

template<typename T >
T base_func< T >::operator() ( type  v0)
inlinevirtual

Reimplemented from exprtk::ifunction< T >.

Definition at line 5834 of file exprtk_test.cpp.

5834{ return v0; }

◆ operator()() [7/18]

template<typename T >
T base_func< T >::operator() ( type  v0,
type  v1 
)
inlinevirtual

Reimplemented from exprtk::ifunction< T >.

Definition at line 5808 of file exprtk_mpfr_test.cpp.

5808{ return (v0 + v1); }

◆ operator()() [8/18]

template<typename T >
T base_func< T >::operator() ( type  v0,
type  v1 
)
inlinevirtual

Reimplemented from exprtk::ifunction< T >.

Definition at line 5805 of file exprtk_real_test.cpp.

5805{ return (v0 + v1); }

◆ operator()() [9/18]

template<typename T >
T base_func< T >::operator() ( type  v0,
type  v1 
)
inlinevirtual

Reimplemented from exprtk::ifunction< T >.

Definition at line 5833 of file exprtk_test.cpp.

5833{ return (v0 + v1); }

◆ operator()() [10/18]

template<typename T >
T base_func< T >::operator() ( type  v0,
type  v1,
type  v2 
)
inlinevirtual

Reimplemented from exprtk::ifunction< T >.

Definition at line 5807 of file exprtk_mpfr_test.cpp.

5807{ return (v0 + v1 + v2); }

◆ operator()() [11/18]

template<typename T >
T base_func< T >::operator() ( type  v0,
type  v1,
type  v2 
)
inlinevirtual

Reimplemented from exprtk::ifunction< T >.

Definition at line 5804 of file exprtk_real_test.cpp.

5804{ return (v0 + v1 + v2); }

◆ operator()() [12/18]

template<typename T >
T base_func< T >::operator() ( type  v0,
type  v1,
type  v2 
)
inlinevirtual

Reimplemented from exprtk::ifunction< T >.

Definition at line 5832 of file exprtk_test.cpp.

5832{ return (v0 + v1 + v2); }

◆ operator()() [13/18]

template<typename T >
T base_func< T >::operator() ( type  v0,
type  v1,
type  v2,
type  v3 
)
inlinevirtual

Reimplemented from exprtk::ifunction< T >.

Definition at line 5806 of file exprtk_mpfr_test.cpp.

5806{ return (v0 + v1 + v2 + v3); }

◆ operator()() [14/18]

template<typename T >
T base_func< T >::operator() ( type  v0,
type  v1,
type  v2,
type  v3 
)
inlinevirtual

Reimplemented from exprtk::ifunction< T >.

Definition at line 5803 of file exprtk_real_test.cpp.

5803{ return (v0 + v1 + v2 + v3); }

◆ operator()() [15/18]

template<typename T >
T base_func< T >::operator() ( type  v0,
type  v1,
type  v2,
type  v3 
)
inlinevirtual

Reimplemented from exprtk::ifunction< T >.

Definition at line 5831 of file exprtk_test.cpp.

5831{ return (v0 + v1 + v2 + v3); }

◆ operator()() [16/18]

template<typename T >
T base_func< T >::operator() ( type  v0,
type  v1,
type  v2,
type  v3,
type  v4 
)
inlinevirtual

Reimplemented from exprtk::ifunction< T >.

Definition at line 5805 of file exprtk_mpfr_test.cpp.

5805{ return (v0 + v1 + v2 + v3 + v4); }

◆ operator()() [17/18]

template<typename T >
T base_func< T >::operator() ( type  v0,
type  v1,
type  v2,
type  v3,
type  v4 
)
inlinevirtual

Reimplemented from exprtk::ifunction< T >.

Definition at line 5802 of file exprtk_real_test.cpp.

5802{ return (v0 + v1 + v2 + v3 + v4); }

◆ operator()() [18/18]

template<typename T >
T base_func< T >::operator() ( type  v0,
type  v1,
type  v2,
type  v3,
type  v4 
)
inlinevirtual

Reimplemented from exprtk::ifunction< T >.

Definition at line 5830 of file exprtk_test.cpp.

5830{ return (v0 + v1 + v2 + v3 + v4); }

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