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

PARALL Class Reference

Parallelepiped representation. More...

#include <paral.h>

Inheritance diagram for PARALL:

SOLUTION List of all members.

Public Methods

 PARALL ( int n )
 Constructor. More...

 PARALL ( const VECTOR & Y, const MATRIX & A, const INTERVAL_VECTOR & R )
 Constructor. More...

void SetPointVec ( const VECTOR & Y )
 Sets a point vector. More...

void SetMatrix ( const MATRIX & A )
 Sets a transformation matrix. More...

void SetIntervalVec ( const INTERVAL_VECTOR & R )
 Sets an interval vector. More...

void SetParal ( const VECTOR & Y, const MATRIX & A, const INTERVAL_VECTOR & R )
 Sets a parallelepiped. More...

void SetParal ( const INTERVAL_VECTOR & Y )
 Sets a parallelepiped. More...

const VECTOR& GetPointVec () const
 Returns the point vector. More...

const MATRIX& GetMatrix () const
 Gets a matrix. More...

const INTERVAL_VECTOR& GetIntervalVec () const
 Gets an interval vector. More...

PARALL& operator= ( const SOLUTION & S )
 Assignment operator. More...

virtual ~PARALL ()
 Destructor.


Detailed Description

Parallelepiped representation.

The PARALL class specifies a parallelepiped in the form , where is an dimensional point vector, is an point matrix, and is an dimensional interval vector.

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


Constructor & Destructor Documentation

PARALL::PARALL ( int n ) [inline]
 

Constructor.

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

PARALL::PARALL ( const VECTOR & Y,
const MATRIX & A,
const INTERVAL_VECTOR & R )
 

Constructor.

It creates a parallelepiped with the specified parameters. This constructor also sets a tight enclosure by calling SOLUTION::SetTightEncl( Y+A*R );

See also:
SOLUTION::SetTightEncl().
Parameters:
Y   point vector
A   point (transformation) matrix
R   interval vector

Precondition:
Square(A,Dimension(R)) && Dimension(Y)== Dimension(R)

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

Destructor.


Member Function Documentation

void PARALL::SetPointVec ( const VECTOR & Y ) [inline]
 

Sets a point vector.

This function sets the point vector in the parallelepiped .

Parameters:
Y   point vector
Precondition:
GetDim()==Dimension(Y)

void PARALL::SetMatrix ( const MATRIX & A ) [inline]
 

Sets a transformation matrix.

This function sets the point matrix in the parallelepiped .

Parameters:
A   point matrix

Precondition:
Square(A, GetDim() )

void PARALL::SetIntervalVec ( const INTERVAL_VECTOR & R ) [inline]
 

Sets an interval vector.

This function sets the interval vector in the parallelepiped .

Parameters:
R   interval vector
Precondition:
GetDim() == Dimension(R)

void PARALL::SetParal ( const VECTOR & Y,
const MATRIX & A,
const INTERVAL_VECTOR & R )
 

Sets a parallelepiped.

This function sets a parallelepiped with the specified parameters and also sets a tight enclosure by calling SOLUTION::SetTightEncl( Y+A*R );

See also:
SOLUTION::SetTightEncl().
Parameters:
Y   point vector
A   point (transformation) matrix
R   interval vector

Precondition:
Square(A,Dimension(R)) && Dimension(R)== Dimension(Y)

void PARALL::SetParal ( const INTERVAL_VECTOR & Y )
 

Sets a parallelepiped.

This function sets a parallelepiped in the form of a box with edges parallel to the axes of the coordinate system.

Parameters:
Y   interval vector
Precondition:
GetDim() == Dimension(Y)

const VECTOR & PARALL::GetPointVec ( ) const [inline]
 

Returns the point vector.

This function returns the most recently set point vector in the parallelepiped.

const MATRIX & PARALL::GetMatrix ( ) const [inline]
 

Gets a matrix.

This function returns the most recently set point matrix in the parallelepiped.

const INTERVAL_VECTOR & PARALL::GetIntervalVec ( ) const [inline]
 

Gets an interval vector.

This function returns the most recently set interval vector in the parallelepiped.

PARALL & PARALL::operator= ( const SOLUTION & S )
 

Assignment operator.

It converts the tight enclosure from the solution object to a parallelepiped representation.

Parameters:
S   a reference to a solution object.
Precondition:
GetDim() == S.GetDim()

Reimplemented from SOLUTION.


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