dune-common 2.9.0
|
Base class template for function classes. More...
#include <dune/common/function.hh>
Classes | |
struct | Traits |
Traits class containing raw types. More... | |
Public Types | |
typedef RawRangeType | RangeType |
Raw type of input variable with removed reference and constness. | |
typedef RawDomainType | DomainType |
Raw type of output variable with removed reference and constness. | |
Public Member Functions | |
void | evaluate (const typename Traits::DomainType &x, typename Traits::RangeType &y) const |
Function evaluation. | |
Base class template for function classes.
Domain | Type of input variable. This could be some 'const T' or 'const T&'. |
Range | Type of output variable. This should be some non-const 'T&' to allow to return results. |
typedef RawDomainType Dune::Function< Domain, Range >::DomainType |
Raw type of output variable with removed reference and constness.
typedef RawRangeType Dune::Function< Domain, Range >::RangeType |
Raw type of input variable with removed reference and constness.
void Dune::Function< Domain, Range >::evaluate | ( | const typename Traits::DomainType & | x, |
typename Traits::RangeType & | y | ||
) | const |
Function evaluation.
x | Argument for function evaluation. |
y | Result of function evaluation. |