C++ Mathematical Expression Toolkit (ExprTk) release
Loading...
Searching...
No Matches
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 5848 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 5852 of file exprtk_mpfr_test.cpp.

◆ type [2/3]

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

Definition at line 5849 of file exprtk_real_test.cpp.

◆ type [3/3]

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

Definition at line 5869 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 5853 of file exprtk_mpfr_test.cpp.

References exprtk::ifunction< T >::ifunction().

Referenced by test_func0< T >::test_func0(), test_func1< T >::test_func1(), test_func2< T >::test_func2(), test_func3< T >::test_func3(), test_func4< T >::test_func4(), and test_func5< T >::test_func5().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ base_func() [2/3]

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

Definition at line 5850 of file exprtk_real_test.cpp.

References exprtk::ifunction< T >::ifunction().

Here is the call graph for this function:

◆ base_func() [3/3]

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

Definition at line 5870 of file exprtk_test.cpp.

References exprtk::ifunction< T >::ifunction().

Here is the call graph for this function:

Member Function Documentation

◆ operator()() [1/18]

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

Reimplemented from exprtk::ifunction< T >.

Definition at line 5859 of file exprtk_mpfr_test.cpp.

5859{ return T("1.1234"); }

References exprtk_test_override.

◆ operator()() [2/18]

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

Reimplemented from exprtk::ifunction< T >.

Definition at line 5856 of file exprtk_real_test.cpp.

5856{ return T(1.1234); }

References exprtk_test_override.

◆ operator()() [3/18]

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

Reimplemented from exprtk::ifunction< T >.

Definition at line 5876 of file exprtk_test.cpp.

5876{ return T(1.1234); }

References exprtk_test_override.

◆ operator()() [4/18]

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

Reimplemented from exprtk::ifunction< T >.

Definition at line 5858 of file exprtk_mpfr_test.cpp.

5858{ return v0; }

References exprtk_test_override.

◆ operator()() [5/18]

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

Reimplemented from exprtk::ifunction< T >.

Definition at line 5855 of file exprtk_real_test.cpp.

5855{ return v0; }

References exprtk_test_override.

◆ operator()() [6/18]

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

Reimplemented from exprtk::ifunction< T >.

Definition at line 5875 of file exprtk_test.cpp.

5875{ return v0; }

References exprtk_test_override.

◆ operator()() [7/18]

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

Reimplemented from exprtk::ifunction< T >.

Definition at line 5857 of file exprtk_mpfr_test.cpp.

5857{ return (v0 + v1); }

References exprtk_test_override.

◆ operator()() [8/18]

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

Reimplemented from exprtk::ifunction< T >.

Definition at line 5854 of file exprtk_real_test.cpp.

5854{ return (v0 + v1); }

References exprtk_test_override.

◆ operator()() [9/18]

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

Reimplemented from exprtk::ifunction< T >.

Definition at line 5874 of file exprtk_test.cpp.

5874{ return (v0 + v1); }

References exprtk_test_override.

◆ 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 5856 of file exprtk_mpfr_test.cpp.

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

References exprtk_test_override.

◆ 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 5853 of file exprtk_real_test.cpp.

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

References exprtk_test_override.

◆ 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 5873 of file exprtk_test.cpp.

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

References exprtk_test_override.

◆ 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 5855 of file exprtk_mpfr_test.cpp.

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

References exprtk_test_override.

◆ 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 5852 of file exprtk_real_test.cpp.

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

References exprtk_test_override.

◆ 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 5872 of file exprtk_test.cpp.

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

References exprtk_test_override.

◆ 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 5854 of file exprtk_mpfr_test.cpp.

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

References exprtk_test_override.

◆ 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 5851 of file exprtk_real_test.cpp.

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

References exprtk_test_override.

◆ 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 5871 of file exprtk_test.cpp.

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

References exprtk_test_override.


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