Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

IMatrix Class Reference

#include <IMatrix.h>

Inheritance diagram for IMatrix:

Inheritance graph
[legend]
List of all members.

Detailed Description

Matrix of intervals.

This class is very similar to Box except we now have a 2D matrix of intervals. See the Box class for more information.

Definition at line 18 of file IMatrix.h.

Public Member Functions

 IMatrix ()
 Constructors.

 IMatrix (int m, int n)
 Construct an IMatrix of size m x n with initial values 0.0.

 IMatrix (int m, int n, Interval< double > x)
 Construct an IMatrix of size m x n with initial values x.

 IMatrix (TNT::Matrix< double > m)
 Construct an IMatrix from a TNT::Matrix of doubles.

 IMatrix (TNT::Matrix< Interval< double > > m)
 Construct an IMatrix from a TNT::Matrix of Interval<double>s.

IMatrixoperator *= (const Interval< double > &c)
 Math operators.

IMatrixoperator/= (const Interval< double > &c)
 Divide each element of the IMatrix by an interval.

IMatrixoperator+= (const Interval< double > &c)
 Add an Interval to each element of the IMatrix.

TNT::Matrix< double > center () const
 Size operators.

void print ()
 Basic output.


Friends

IMatrix operator * (const IMatrix &m, const Interval< double > &x)
 Multiply an IMatrix by an interval.

IMatrix operator * (const Interval< double > &x, const IMatrix &m)
 Multiply an Interval by an IMatrix.

IMatrix operator/ (const IMatrix &m, const Interval< double > &x)
 Divide an IMatrix by an interval.

IMatrix operator+ (const IMatrix &m, const Interval< double > &x)
 Add an IMatrix to an interval.

IMatrix operator+ (const Interval< double > &x, const IMatrix &m)
 Add an Interval to an IMatrix.

std::ostream & operator<< (std::ostream &os, const IMatrix &m)
 Standard output stream to print out the coords of the box.


Constructor & Destructor Documentation

IMatrix::IMatrix  ) 
 

Constructors.

Useful only in parameter specifications.

Definition at line 15 of file IMatrix.cpp.

IMatrix::IMatrix int  m,
int  n
 

Construct an IMatrix of size m x n with initial values 0.0.

Definition at line 20 of file IMatrix.cpp.

IMatrix::IMatrix int  m,
int  n,
Interval< double >  x
 

Construct an IMatrix of size m x n with initial values x.

Definition at line 26 of file IMatrix.cpp.

IMatrix::IMatrix TNT::Matrix< double >  m  ) 
 

Construct an IMatrix from a TNT::Matrix of doubles.

Definition at line 32 of file IMatrix.cpp.

IMatrix::IMatrix TNT::Matrix< Interval< double > >  m  ) 
 

Construct an IMatrix from a TNT::Matrix of Interval<double>s.

Definition at line 44 of file IMatrix.cpp.


Member Function Documentation

TNT::Matrix< double > IMatrix::center  )  const
 

Size operators.

Returns:
A TNT Matrix of doubles where each element is the 'center' of each element of the IMatrix.

Definition at line 58 of file IMatrix.cpp.

Referenced by NewtonDegenerate::NewtonEquation(), and NewtonCritical::NewtonEquation().

IMatrix & IMatrix::operator *= const Interval< double > &  c  ) 
 

Math operators.

Definition at line 72 of file IMatrix.cpp.

IMatrix & IMatrix::operator+= const Interval< double > &  c  ) 
 

Add an Interval to each element of the IMatrix.

Definition at line 94 of file IMatrix.cpp.

IMatrix & IMatrix::operator/= const Interval< double > &  c  ) 
 

Divide each element of the IMatrix by an interval.

Definition at line 83 of file IMatrix.cpp.

void IMatrix::print  ) 
 

Basic output.

Appends a <CR/LF> to the end.

Definition at line 105 of file IMatrix.cpp.


Friends And Related Function Documentation

IMatrix operator * const Interval< double > &  x,
const IMatrix m
[friend]
 

Multiply an Interval by an IMatrix.

Definition at line 139 of file IMatrix.cpp.

IMatrix operator * const IMatrix m,
const Interval< double > &  x
[friend]
 

Multiply an IMatrix by an interval.

Definition at line 132 of file IMatrix.cpp.

IMatrix operator+ const Interval< double > &  x,
const IMatrix m
[friend]
 

Add an Interval to an IMatrix.

Definition at line 160 of file IMatrix.cpp.

IMatrix operator+ const IMatrix m,
const Interval< double > &  x
[friend]
 

Add an IMatrix to an interval.

Definition at line 153 of file IMatrix.cpp.

IMatrix operator/ const IMatrix m,
const Interval< double > &  x
[friend]
 

Divide an IMatrix by an interval.

Definition at line 146 of file IMatrix.cpp.

std::ostream& operator<< std::ostream &  os,
const IMatrix m
[friend]
 

Standard output stream to print out the coords of the box.

Note that this does not output a trailing <CR/LF>.

Definition at line 116 of file IMatrix.cpp.


The documentation for this class was generated from the following files:
Generated on Mon Jun 28 15:02:20 2004 for Advanced Surface Library by doxygen 1.3.4