dune-common  2.2.0
Classes | Public Types | Public Member Functions | List of all members
Dune::Function< Domain, Range > Class Template Reference

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 (Domain x, Range y) const
 Function evaluation.

Detailed Description

template<class Domain, class Range>
class Dune::Function< Domain, Range >

Base class template for function classes.

Template Parameters
DomainType of input variable. This could be some 'const T' or 'const T&'.
RangeType of output variable. This should be some non-const 'T&' to allow to return results.

Member Typedef Documentation

template<class Domain, class Range>
typedef RawDomainType Dune::Function< Domain, Range >::DomainType

Raw type of output variable with removed reference and constness.

template<class Domain, class Range>
typedef RawRangeType Dune::Function< Domain, Range >::RangeType

Raw type of input variable with removed reference and constness.

Member Function Documentation

template<class Domain, class Range>
void Dune::Function< Domain, Range >::evaluate ( Domain  x,
Range  y 
) const

Function evaluation.

Parameters
xArgument for function evaluation.
yResult of function evaluation.

Reimplemented in Dune::VirtualFunction< DomainType, RangeType >.


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