OcSparseMatrix Class Reference

#include <ocmatrix.h>

Inheritance diagram for OcSparseMatrix:
Inheritance graph
[legend]
Collaboration diagram for OcSparseMatrix:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 OcSparseMatrix (int, int)
virtual ~OcSparseMatrix ()
virtual double * mep (int, int)
virtual double * pelm (int, int)
virtual int nrow ()
virtual int ncol ()
virtual double getval (int, int)
virtual void mulv (Vect *in, Vect *out)
virtual void solv (Vect *vin, Vect *vout, boolean use_lu)
virtual void setrow (int, Vect *in)
virtual void setcol (int, Vect *in)
virtual void setdiag (int, Vect *in)
virtual void setrow (int, double in)
virtual void setcol (int, double in)
virtual void setdiag (int, double in)
virtual int sprowlen (int)
virtual double spgetrowval (int i, int jindx, int *j)

Private Attributes

SPMAT * m_
SPMAT * lu_factor_
PERM * lu_pivot_

Constructor & Destructor Documentation

OcSparseMatrix::OcSparseMatrix ( int  nrow,
int  ncol 
)

References lu_factor_, lu_pivot_, m_, and nil.

OcSparseMatrix::~OcSparseMatrix (  )  [virtual]

References lu_factor_, lu_pivot_, and m_.


Member Function Documentation

double OcSparseMatrix::getval ( int  i,
int  j 
) [virtual]

Reimplemented from OcMatrix.

References m_.

double * OcSparseMatrix::mep ( int  i,
int  j 
) [virtual]

Reimplemented from OcMatrix.

References m_.

void OcSparseMatrix::mulv ( Vect *  in,
Vect *  out 
) [virtual]

Reimplemented from OcMatrix.

References m_.

int OcSparseMatrix::ncol (  )  [virtual]

Reimplemented from OcMatrix.

References m_.

Referenced by setdiag(), and setrow().

int OcSparseMatrix::nrow (  )  [virtual]

Reimplemented from OcMatrix.

References m_.

Referenced by setcol(), setdiag(), and solv().

double * OcSparseMatrix::pelm ( int  i,
int  j 
) [virtual]

References m_, and nil.

Referenced by setcol(), setdiag(), and setrow().

void OcSparseMatrix::setcol ( int  k,
double  in 
) [virtual]

Reimplemented from OcMatrix.

References i, m_, and nrow().

Here is the call graph for this function:

void OcSparseMatrix::setcol ( int  k,
Vect *  in 
) [virtual]

Reimplemented from OcMatrix.

References i, m_, n, nil, nrow(), pelm(), and v_elem.

Here is the call graph for this function:

void OcSparseMatrix::setdiag ( int  k,
double  in 
) [virtual]

Reimplemented from OcMatrix.

References i, m_, ncol(), and nrow().

Here is the call graph for this function:

void OcSparseMatrix::setdiag ( int  k,
Vect *  in 
) [virtual]

Reimplemented from OcMatrix.

References i, m_, ncol(), nil, nrow(), pelm(), and v_elem.

Here is the call graph for this function:

void OcSparseMatrix::setrow ( int  k,
double  in 
) [virtual]

Reimplemented from OcMatrix.

References i, m_, and ncol().

Here is the call graph for this function:

void OcSparseMatrix::setrow ( int  k,
Vect *  in 
) [virtual]

Reimplemented from OcMatrix.

References i, m_, n, ncol(), nil, pelm(), and v_elem.

Here is the call graph for this function:

void OcSparseMatrix::solv ( Vect *  vin,
Vect *  vout,
boolean  use_lu 
) [virtual]

Reimplemented from OcMatrix.

References lu_factor_, lu_pivot_, m_, and nrow().

Here is the call graph for this function:

double OcSparseMatrix::spgetrowval ( int  i,
int  jindx,
int j 
) [virtual]

Reimplemented from OcMatrix.

References m_.

int OcSparseMatrix::sprowlen ( int  i  )  [virtual]

Reimplemented from OcMatrix.

References m_.


Member Data Documentation

SPMAT* OcSparseMatrix::lu_factor_ [private]
PERM* OcSparseMatrix::lu_pivot_ [private]
SPMAT* OcSparseMatrix::m_ [private]

The documentation for this class was generated from the following files:
Generated on Mon Jun 13 08:10:32 2011 for NEURON by  doxygen 1.6.3