Dune Core Modules (2.4.1)

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 (const typename Traits::DomainType &x, typename Traits::RangeType &y) const
 Function evaluation. More...
 

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 Function Documentation

◆ evaluate()

template<class Domain , class Range >
void Dune::Function< Domain, Range >::evaluate ( const typename Traits::DomainType &  x,
typename Traits::RangeType &  y 
) const

Function evaluation.

Parameters
xArgument for function evaluation.
yResult of function evaluation.

The documentation for this class was generated from the following file:
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.111.3 (Dec 22, 23:30, 2024)