Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

TAYLOR_ODE Class Reference

Abstract class for generating Taylor coefficients. More...

#include <taylode.h>

Inheritance diagram for TAYLOR_ODE:

TAYLOR_CTRL TAYLOR_ODE_TAD List of all members.

Public Methods

virtual void GenerateTerms ( const INTERVAL_VECTOR & Y, const INTERVAL & h, int k ) = 0
 Generates Taylor terms. More...

virtual void SumTerms ( INTERVAL_VECTOR & Sum, int k ) = 0
 Sums Taylor series. More...

virtual void GetOneTerm ( INTERVAL_VECTOR & Yk, int k ) = 0
 Obtains the k-th Taylor series term. More...

void GenerateTerms ( const VECTOR & Y, const INTERVAL & h, int k )
 Generates Taylor terms. More...

virtual ~TAYLOR_ODE ()
 Destructor.


Protected Methods

 TAYLOR_ODE ( int n )
 Constructor. More...


Detailed Description

Abstract class for generating Taylor coefficients.

This class provides the interface for a Taylor series generator for the solution to the IVP , .

Author(s):
Ned Nedialkov
Date:
8 June 2001


Constructor & Destructor Documentation

TAYLOR_ODE::~TAYLOR_ODE ( ) [inline, virtual]
 

Destructor.

TAYLOR_ODE::TAYLOR_ODE ( int n ) [inline, protected]
 

Constructor.

Parameters:
n   size of the problem
Precondition:
n>0


Member Function Documentation

void TAYLOR_ODE::GenerateTerms ( const INTERVAL_VECTOR & Y,
const INTERVAL & h,
int k ) [pure virtual]
 

Generates Taylor terms.

This function generates k Taylor terms for the solution of an ODE with an interval initial condition Y at a point of expansion enclosed by h.

Parameters:
Y   interval vector enclosing the initial condition
h   interval enclosing the point of expansion
k   order of the Taylor series

Precondition:
k>0 && k<=GetMaxOrder() && Dimension(Y) == GetDim() &&NonZero(h)

Reimplemented in TAYLOR_ODE_TAD.

void TAYLOR_ODE::SumTerms ( INTERVAL_VECTOR & Sum,
int k ) [pure virtual]
 

Sums Taylor series.

This function computes the sum of the first k Taylor terms that are generated in GenerateTerms().

Parameters:
Sum   (output) the sum of the first k Taylor series terms
k   number of terms

Precondition:
Dimension(Sum) == GetDim() && k > 0 && k <= GetOrder()

Reimplemented in TAYLOR_ODE_TAD.

void TAYLOR_ODE::GetOneTerm ( INTERVAL_VECTOR & Yk,
int k ) [pure virtual]
 

Obtains the k-th Taylor series term.

Obtain the k-th term from a Taylor series expansion.

Parameters:
Yk   (output) the k-th term
k   number of the term

Precondition:
Dimension(Yk) == GetDim() && k>=0 && k<=GetOrder()

Reimplemented in TAYLOR_ODE_TAD.

void TAYLOR_ODE::GenerateTerms ( const VECTOR & Y,
const INTERVAL & h,
int k ) [inline]
 

Generates Taylor terms.

This function generates k Taylor coefficients for the solution of an ODE with a point initial condition Y and a point of expansion enclosed by h.

See also:
GenerateTerms()
Parameters:
Y   point initial condition
h   interval enclosing the point of expansion
k   order of the Taylor series

Precondition:
k>0 && k<=GetMaxOrder() && Dimension(Y) == GetDim() && NonZero(h)


The documentation for this class was generated from the following file:
Generated at Sun Oct 14 12:45:42 2001 for VNODE by doxygen1.2.0 written by Dimitri van Heesch, © 1997-2000