PrimFuncMthdKernFactor< T > Class Template Reference

Parameters for the method of primitive functions. More...

#include <PrimFuncMethod.hpp>

Inheritance diagram for PrimFuncMthdKernFactor< T >:

Inheritance graph
[legend]
Collaboration diagram for PrimFuncMthdKernFactor< T >:

Collaboration graph
[legend]
List of all members.

Public Member Functions

virtual T Kernel (T x, T y)=0
 The function $k_i$ (inherited from the base).
virtual T YFactor (T y)=0
 The function $f_i$.
virtual T NonZeroMinY (T x)=0
 Bounds of set where the integrand is non-zero.
virtual T NonZeroMaxY (T x)=0
 Bounds of set where the integrand is non-zero.
int NGaussPoints () const
 Returns the # of the gaussian points for this dim.
 PrimFuncMthdKernFactor (int the_n_gauss_points)
 Constructor.
virtual ~PrimFuncMthdKernFactor ()
 Virtual destructor.

Detailed Description

template<typename T>
class PrimFuncMthdKernFactor< T >

Parameters for the method of primitive functions.

We assume that the integrand is a product of the form

\[ k(x, y) = k_1(x_1, y_1) f_1(y_1) k_2(x_2, y_2) f_2(y_2) \dots k_d(x_d, y_d) f(y_d) \]

(one term $k_i (x_i, y_i) f_i (y_i)$ for every dimension). The method of primitive functions gets as the argument the array of the pointers to the structures describing the pairs $(k_i, f_i)$ and the bounds of the domain for every dimension (one structure per dimension)

Note:
The bounds of the domain in 'this' dimension are kept in the base class.


Constructor & Destructor Documentation

template<typename T>
PrimFuncMthdKernFactor< T >::PrimFuncMthdKernFactor ( int  the_n_gauss_points  )  [inline]

Constructor.

Parameters:
[in] the_n_gauss_points The # of the gaussian points for this dim.
Note:
Do not forget to initialize the bounds of the interval before the computation of the expansion coefficients by the function 'SetBounds'.

template<typename T>
virtual PrimFuncMthdKernFactor< T >::~PrimFuncMthdKernFactor (  )  [inline, virtual]

Virtual destructor.


Member Function Documentation

template<typename T>
virtual T PrimFuncMthdKernFactor< T >::Kernel ( x,
y 
) [pure virtual]

The function $k_i$ (inherited from the base).

Implements KernelExpansion1D< T >.

template<typename T>
virtual T PrimFuncMthdKernFactor< T >::YFactor ( y  )  [pure virtual]

The function $f_i$.

template<typename T>
virtual T PrimFuncMthdKernFactor< T >::NonZeroMinY ( x  )  [pure virtual]

Bounds of set where the integrand is non-zero.

template<typename T>
virtual T PrimFuncMthdKernFactor< T >::NonZeroMaxY ( x  )  [pure virtual]

Bounds of set where the integrand is non-zero.

template<typename T>
int PrimFuncMthdKernFactor< T >::NGaussPoints (  )  const [inline]

Returns the # of the gaussian points for this dim.


The documentation for this class was generated from the following file:
Generated on Fri Sep 21 12:34:27 2007 for SG2 by  doxygen 1.5.2