Toeplitz Class Reference

#include <mattoep.h>

Inheritance diagram for Toeplitz:

Inheritance graph
[legend]
Collaboration diagram for Toeplitz:

Collaboration graph
[legend]

List of all members.

Public Types

typedef ToeplitzIterator T_iterator

Public Member Functions

 Toeplitz ()
 Toeplitz (unsigned rows, unsigned cols)
unsigned columns () const
unsigned coordToOffset (unsigned i, unsigned j) const
unsigned firstInRow (unsigned i) const
template<typename T_numtype>
T_numtype get (const T_numtype *restrict data, unsigned i, unsigned j) const
template<typename T_numtype>
T_numtype & get (T_numtype *restrict data, unsigned i, unsigned j)
unsigned lastInRow (const unsigned) const
unsigned firstInCol (const unsigned) const
unsigned lastInCol (const unsigned) const
bool inRange (const unsigned i, const unsigned j) const
unsigned numElements () const
unsigned rows () const
void resize (const unsigned rows, const unsigned cols)

Private Attributes

unsigned rows_
unsigned cols_


Member Typedef Documentation


Constructor & Destructor Documentation

Toeplitz::Toeplitz (  )  [inline]

Toeplitz::Toeplitz ( unsigned  rows,
unsigned  cols 
) [inline]


Member Function Documentation

unsigned Toeplitz::columns (  )  const [inline]

Reimplemented from AsymmetricMatrix.

References cols_.

unsigned Toeplitz::coordToOffset ( unsigned  i,
unsigned  j 
) const [inline]

References inRange().

Referenced by get().

unsigned Toeplitz::firstInRow ( unsigned  i  )  const [inline]

Reimplemented from GeneralMatrix.

template<typename T_numtype>
T_numtype Toeplitz::get ( const T_numtype *restrict  data,
unsigned  i,
unsigned  j 
) const [inline]

References coordToOffset(), i, inRange(), and j.

template<typename T_numtype>
T_numtype& Toeplitz::get ( T_numtype *restrict  data,
unsigned  i,
unsigned  j 
) [inline]

References coordToOffset(), i, inRange(), and j.

unsigned Toeplitz::lastInRow ( const   unsigned  )  const [inline]

Reimplemented from GeneralMatrix.

References cols_.

unsigned Toeplitz::firstInCol ( const   unsigned  )  const [inline]

Reimplemented from GeneralMatrix.

unsigned Toeplitz::lastInCol ( const   unsigned  )  const [inline]

Reimplemented from GeneralMatrix.

References rows_.

bool Toeplitz::inRange ( const unsigned  i,
const unsigned  j 
) const [inline]

Reimplemented from AsymmetricMatrix.

References cols_, and rows_.

Referenced by coordToOffset(), and get().

unsigned Toeplitz::numElements (  )  const [inline]

Reimplemented from GeneralMatrix.

References cols_, and rows_.

unsigned Toeplitz::rows (  )  const [inline]

Reimplemented from AsymmetricMatrix.

References rows_.

void Toeplitz::resize ( const unsigned  rows,
const unsigned  cols 
) [inline]

Reimplemented from AsymmetricMatrix.

References cols_, and rows_.


Member Data Documentation

unsigned Toeplitz::rows_ [private]

Reimplemented from AsymmetricMatrix.

Referenced by inRange(), lastInCol(), numElements(), resize(), and rows().

unsigned Toeplitz::cols_ [private]

Reimplemented from AsymmetricMatrix.

Referenced by columns(), inRange(), lastInRow(), numElements(), and resize().


The documentation for this class was generated from the following file:

Generated on Mon Jun 2 15:30:40 2008 for blitz by  doxygen 1.5.6