Department of Scientific Computing   
Institute for Numerical Simulation   
University of Bonn   
Documentation
Download
Programming References
Bug Reports / Suggestions
FAQ
Authors
Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members  

Function Struct Reference

Abstract class for real valued multivariate functions. More...

#include <Function.hpp>

Inheritance diagram for Function::

ConstFunction GeneralRadialFunction SparseGridFunction SubFunction TensorNPolynomFunction GeneralRadialFunctionDX GeneralRadialFunctionDY LaplaceGeneralRadialFunction FullGridFunction List of all members.

Public Methods

virtual double Eval (double *x)=0
 Evaluate function in *x.

virtual void SetParameters (double *p)=0
 Set additional parameters to (*this), which parameters depends on the particular specialization.

double GaussQuadrature (double *XA, double *XE, int D, int order=4)
 Some of my predefined functions require the (approximate) evaluation of integrals
GaussQuadrature calculates the definite integral of *this over the domain ; using a quadraure rule of the given (even!) order.



The documentation for this struct was generated from the following files:
Generated at Mon Aug 19 10:02:33 2002 for AWFD by doxygen1.2.8.1 written by Dimitri van Heesch, © 1997-2001