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

DArray Class Template Reference

#include <DArray.h>

Inheritance diagram for DArray::

ObjectOf List of all members.

Public Methods

 DArray (int n=0)
 DArray (int h, int w)
bool operator== (const DArray &DA) const
VectorOf<R> operator[] (int i) const
MatrixRow< R >& operator[] (int i)
VectorOf<R> getRow (int i) const
VectorOf<R> getCol (int i) const
void assignCol (int i, const VectorOf< R > &vc)
void reSize (int newHeight, int newWidth)
void colInsBefore (int col, int colsNum)
void colInsAfter (int col, int colsNum)
void rowInsBefore (int row, int rowsNum)
void rowInsAfter (int row, int rowsNum)
void colDelBefore (int col, int colsNum, bool reAlloc=TRUE)
void colDelAfter (int col, int colsNum, bool reAlloc=TRUE)
void colDelRange (int col1, int col2, bool reAlloc=TRUE)
void rowDelBefore (int row, int rowsNum, bool reAlloc=TRUE)
void rowDelAfter (int row, int rowsNum, bool reAlloc=TRUE)
void rowDelRange (int row1, int row2, bool reAlloc=TRUE)
int width () const
int height () const
int lastCol () const
int lastRow () const

Protected Methods

 DArray (DArrayRep< R > *newrep)

Friends

IStreamPoll operator>> (istream &istr, DArray &M)
ostream& operator<< (ostream &o, const DArray &v)
ostream& operator (ostream &ostr, const DArray &DA)
istream& operator> (istream &istr, DArray &DA)

template<class R> class DArray


Constructor & Destructor Documentation

template<class R>
DArray<R>::DArray<R> ( int n = 0 ) [inline]
 

Definition at line 275 of file DArray.h.

template<class R>
DArray<R>::DArray<R> ( int h,
int w ) [inline]
 

Definition at line 278 of file DArray.h.

template<class R>
DArray<R>::DArray<R> ( DArrayRep< R > * newrep ) [inline, protected]
 

Definition at line 409 of file DArray.h.


Member Function Documentation

template<class R>
bool DArray<R>::operator== ( const DArray<R> & DA ) const [inline]
 

Definition at line 289 of file DArray.h.

template<class R>
VectorOf< R > DArray<R>::operator[]<R> ( int i ) const [inline]
 

Definition at line 293 of file DArray.h.

template<class R>
MatrixRow< R > & DArray<R>::operator[]< R > ( int i ) [inline]
 

Definition at line 295 of file DArray.h.

template<class R>
VectorOf< R > DArray<R>::getRow<R> ( int i ) const [inline]
 

Definition at line 303 of file DArray.h.

template<class R>
VectorOf< R > DArray<R>::getCol<R> ( int i ) const [inline]
 

Definition at line 308 of file DArray.h.

template<class R>
void DArray<R>::assignCol ( int i,
const VectorOf< R > & vc ) [inline]
 

Definition at line 313 of file DArray.h.

template<class R>
void DArray<R>::reSize ( int newHeight,
int newWidth ) [inline]
 

Definition at line 319 of file DArray.h.

template<class R>
void DArray<R>::colInsBefore ( int col,
int colsNum ) [inline]
 

Definition at line 325 of file DArray.h.

template<class R>
void DArray<R>::colInsAfter ( int col,
int colsNum ) [inline]
 

Definition at line 328 of file DArray.h.

template<class R>
void DArray<R>::rowInsBefore ( int row,
int rowsNum ) [inline]
 

Definition at line 331 of file DArray.h.

template<class R>
void DArray<R>::rowInsAfter ( int row,
int rowsNum ) [inline]
 

Definition at line 334 of file DArray.h.

template<class R>
void DArray<R>::colDelBefore ( int col,
int colsNum,
bool reAlloc = TRUE ) [inline]
 

Definition at line 341 of file DArray.h.

template<class R>
void DArray<R>::colDelAfter ( int col,
int colsNum,
bool reAlloc = TRUE ) [inline]
 

Definition at line 344 of file DArray.h.

template<class R>
void DArray<R>::colDelRange ( int col1,
int col2,
bool reAlloc = TRUE ) [inline]
 

Definition at line 347 of file DArray.h.

template<class R>
void DArray<R>::rowDelBefore ( int row,
int rowsNum,
bool reAlloc = TRUE ) [inline]
 

Definition at line 350 of file DArray.h.

template<class R>
void DArray<R>::rowDelAfter ( int row,
int rowsNum,
bool reAlloc = TRUE ) [inline]
 

Definition at line 353 of file DArray.h.

template<class R>
void DArray<R>::rowDelRange ( int row1,
int row2,
bool reAlloc = TRUE ) [inline]
 

Definition at line 356 of file DArray.h.

template<class R>
int DArray<R>::width ( ) const [inline]
 

Definition at line 360 of file DArray.h.

Referenced by operator<<().

template<class R>
int DArray<R>::height ( ) const [inline]
 

Definition at line 362 of file DArray.h.

Referenced by AbelianGroupRep::numOfGensInTorsionPartOfPD(), and operator<<().

template<class R>
int DArray<R>::lastCol ( ) const [inline]
 

Definition at line 366 of file DArray.h.

template<class R>
int DArray<R>::lastRow ( ) const [inline]
 

Definition at line 368 of file DArray.h.


Friends And Related Function Documentation

template<class R>
IStreamPoll operator>> ( istream & istr,
DArray<R> & M ) [friend]
 

Definition at line 375 of file DArray.h.

template<class R>
ostream & operator<< ( ostream & o,
const DArray<R> & v ) [friend]
 

Definition at line 383 of file DArray.h.

template<class R>
ostream& operator ( ostream & ostr,
const DArray<R> & DA ) [friend]
 

template<class R>
istream& operator> ( istream & istr,
DArray<R> & DA ) [friend]
 

Definition at line 255 of file DArray.h.


The documentation for this class was generated from the following file:
Generated at Tue Jun 19 09:49:50 2001 for Magnus Classes by doxygen1.2.6 written by Dimitri van Heesch, © 1997-2001