SG++-Doxygen-Documentation
sgpp::combigrid::GeneralFunction1< Out > Class Template Reference

#include <GeneralFunction.hpp>

Public Types

typedef std::function< Out()> function_type
 
typedef Out output_type
 

Public Member Functions

Out call () const
 Evaluates the function (for python use etc., does the same as operator()). More...
 
 GeneralFunction1 (Out(*ptr)())
 for function pointers More...
 
template<typename T >
 GeneralFunction1 (T const &f)
 for lambdas or function objects More...
 
 GeneralFunction1 ()
 Default constructor, creating a constant zero function. More...
 
function_type getStdFunction () const
 
Out operator() () const
 Evaluates the function. More...
 

Member Typedef Documentation

template<typename Out>
typedef std::function<Out()> sgpp::combigrid::GeneralFunction1< Out >::function_type
template<typename Out>
typedef Out sgpp::combigrid::GeneralFunction1< Out >::output_type

Constructor & Destructor Documentation

template<typename Out>
sgpp::combigrid::GeneralFunction1< Out >::GeneralFunction1 ( Out(*)()  ptr)
inlineexplicit

for function pointers

template<typename Out>
template<typename T >
sgpp::combigrid::GeneralFunction1< Out >::GeneralFunction1 ( T const &  f)
inlineexplicit

for lambdas or function objects

template<typename Out>
sgpp::combigrid::GeneralFunction1< Out >::GeneralFunction1 ( )
inline

Default constructor, creating a constant zero function.

Member Function Documentation

template<typename Out>
Out sgpp::combigrid::GeneralFunction1< Out >::call ( ) const
inline

Evaluates the function (for python use etc., does the same as operator()).

template<typename Out>
function_type sgpp::combigrid::GeneralFunction1< Out >::getStdFunction ( ) const
inline
template<typename Out>
Out sgpp::combigrid::GeneralFunction1< Out >::operator() ( ) const
inline

Evaluates the function.


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