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

LowerTriangular< S > Class Template Reference

#include <Matrix.h>

List of all members.


Detailed Description

template<typename S>
class LowerTriangular< S >

Storage allocation and entries for square lower triangular matrices.
Parameters:
S the type of matrix entries.

Definition at line 553 of file Matrix.h.

Public Types

typedef UpperTriangular< S > TransposeType

Public Member Functions

int rows () const
int cols () const
void setCols (int)
S ** allocate (int nRows, int nCols)
 LowerTriangular (int nRows, int nCols)
 ~LowerTriangular ()
S & entry (int i, int j)
const S & entry (int i, int j) const
int rowBegin (int i) const
int rowEnd (int i) const
int colBegin (int j) const
int colEnd (int j) const

Protected Attributes

int dim
S ** dptr


Member Typedef Documentation

template<typename S>
typedef UpperTriangular<S> LowerTriangular< S >::TransposeType
 

Definition at line 562 of file Matrix.h.


Constructor & Destructor Documentation

template<typename S>
LowerTriangular< S >::LowerTriangular int    nRows,
int    nCols
[inline]
 

Number of rows must equal number of columns.

Parameters:
nRows number of rows.
nCols number of columns.

Definition at line 594 of file Matrix.h.

template<typename S>
LowerTriangular< S >::~LowerTriangular   [inline]
 

Definition at line 596 of file Matrix.h.


Member Function Documentation

template<typename S>
int LowerTriangular< S >::rows   const [inline]
 

Number of rows.

Definition at line 565 of file Matrix.h.

template<typename S>
int LowerTriangular< S >::cols   const [inline]
 

Number of columns.

Definition at line 567 of file Matrix.h.

template<typename S>
void LowerTriangular< S >::setCols int    [inline]
 

Empty function. Action needed only in nonsquare case.

Definition at line 569 of file Matrix.h.

template<typename S>
S** LowerTriangular< S >::allocate int    nRows,
int    nCols
[inline]
 

Memory allocation.

Parameters:
nRows number of rows.
nCols number of columns.

Definition at line 576 of file Matrix.h.

template<typename S>
S& LowerTriangular< S >::entry int    i,
int    j
[inline]
 

Subscripting from zero index base: .

Definition at line 600 of file Matrix.h.

template<typename S>
const S& LowerTriangular< S >::entry int    i,
int    j
const [inline]
 

Subscripting from zero index base: .

Definition at line 602 of file Matrix.h.

template<typename S>
int LowerTriangular< S >::rowBegin int    i const [inline]
 

Beginning of nonzero entries in row i relative to zero index base.

Definition at line 606 of file Matrix.h.

template<typename S>
int LowerTriangular< S >::rowEnd int    i const [inline]
 

End of nonzero entries in row i relative to zero index base.

Definition at line 609 of file Matrix.h.

template<typename S>
int LowerTriangular< S >::colBegin int    j const [inline]
 

Beginning of nonzero entries in column j relative to zero index base.

Definition at line 612 of file Matrix.h.

template<typename S>
int LowerTriangular< S >::colEnd int    j const [inline]
 

End of nonzero entries in column j relative to zero index base.

Definition at line 615 of file Matrix.h.


Member Data Documentation

template<typename S>
int LowerTriangular< S >::dim [protected]
 

Definition at line 557 of file Matrix.h.

template<typename S>
S** LowerTriangular< S >::dptr [protected]
 

Definition at line 558 of file Matrix.h.


The documentation for this class was generated from the following file:
Generated on Mon Sep 22 02:16:33 2003 for Libor-Library by doxygen1.3-rc3