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

TAYLOR_VAR Class Reference

Abstract class for generating Jacobians of Taylor coefficients. More...

#include <taylvar.h>

Inheritance diagram for TAYLOR_VAR:

TAYLOR_CTRL TAYLOR_VAR_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_MATRIX & Sum, int k ) = 0
 Sums Taylor series. More...

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

virtual ~TAYLOR_VAR ()
 Destructor.


Protected Methods

 TAYLOR_VAR ( int n )
 Constructor. More...


Detailed Description

Abstract class for generating Jacobians of Taylor coefficients.

Given the IVP , , this class provides the interface for a Taylor series generator for the solution to the variational equation , .

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


Constructor & Destructor Documentation

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

Destructor.

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

Constructor.

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


Member Function Documentation

void TAYLOR_VAR::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 the variational equation with an interval initial condition Y and 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_VAR_TAD.

void TAYLOR_VAR::SumTerms ( INTERVAL_MATRIX & Sum,
int k ) [pure virtual]
 

Sums Taylor series.

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

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

Precondition:
Square(Sum,GetDim()) && k > 0 && k <= GetOrder();

Reimplemented in TAYLOR_VAR_TAD.

void TAYLOR_VAR::GetOneTerm ( INTERVAL_MATRIX & Yk,
int k ) [pure virtual]
 

Obtains the k-th Taylor series term.

This function obtains the k-th term from the Taylor terms generated in GenerateTerms.

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

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

Reimplemented in TAYLOR_VAR_TAD.


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