OcMatrix Class Reference

#include <ocmatrix.h>

Inheritance diagram for OcMatrix:
Inheritance graph
[legend]

List of all members.

Public Types

enum  { MFULL = 1, MSPARSE, MBAND }

Public Member Functions

virtual ~OcMatrix ()
virtual double * mep (int i, int j)
virtual double getval (int i, int j)
virtual int nrow ()
virtual int ncol ()
virtual void resize (int, int)
OcFullMatrixfull ()
virtual void mulv (Vect *in, Vect *out)
virtual void mulm (Matrix *in, Matrix *out)
virtual void muls (double, Matrix *out)
virtual void add (Matrix *, Matrix *out)
virtual void getrow (int, Vect *out)
virtual void getcol (int, Vect *out)
virtual void getdiag (int, Vect *out)
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 void zero ()
virtual void ident ()
virtual void exp (Matrix *out)
virtual void pow (int, Matrix *out)
virtual void inverse (Matrix *out)
virtual void solv (Vect *vin, Vect *vout, boolean use_lu)
virtual void copy (Matrix *out)
virtual void bcopy (Matrix *mout, int i0, int j0, int n0, int m0, int i1, int j1)
virtual void transpose (Matrix *out)
virtual void symmeigen (Matrix *mout, Vect *vout)
virtual void svd1 (Matrix *u, Matrix *v, Vect *d)
virtual double det (int *e)
virtual int sprowlen (int)
virtual double spgetrowval (int i, int jindx, int *j)
void unimp ()
Object ** temp_objvar ()

Static Public Member Functions

static OcMatrixinstance (int nrow, int ncol, int type=MFULL)

Public Attributes

Object * obj_

Protected Member Functions

 OcMatrix (int type)

Private Attributes

int type_

Member Enumeration Documentation

anonymous enum
Enumerator:
MFULL 
MSPARSE 
MBAND 

Constructor & Destructor Documentation

OcMatrix::~OcMatrix (  )  [virtual]
OcMatrix::OcMatrix ( int  type  )  [protected]

References nil, obj_, and type_.


Member Function Documentation

virtual void OcMatrix::add ( Matrix *  ,
Matrix *  out 
) [inline, virtual]

Reimplemented in OcFullMatrix.

References unimp().

Here is the call graph for this function:

virtual void OcMatrix::bcopy ( Matrix *  mout,
int  i0,
int  j0,
int  n0,
int  m0,
int  i1,
int  j1 
) [inline, virtual]

Reimplemented in OcFullMatrix.

References unimp().

Here is the call graph for this function:

virtual void OcMatrix::copy ( Matrix *  out  )  [inline, virtual]

Reimplemented in OcFullMatrix.

References unimp().

Here is the call graph for this function:

virtual double OcMatrix::det ( int e  )  [inline, virtual]

Reimplemented in OcFullMatrix.

References unimp().

Here is the call graph for this function:

virtual void OcMatrix::exp ( Matrix *  out  )  [inline, virtual]

Reimplemented in OcFullMatrix.

References unimp().

Here is the call graph for this function:

OcFullMatrix * OcMatrix::full (  ) 

References hoc_execerror(), MFULL, and type_.

Here is the call graph for this function:

virtual void OcMatrix::getcol ( int  ,
Vect *  out 
) [inline, virtual]

Reimplemented in OcFullMatrix.

References unimp().

Here is the call graph for this function:

virtual void OcMatrix::getdiag ( int  ,
Vect *  out 
) [inline, virtual]

Reimplemented in OcFullMatrix.

References unimp().

Here is the call graph for this function:

virtual void OcMatrix::getrow ( int  ,
Vect *  out 
) [inline, virtual]

Reimplemented in OcFullMatrix.

References unimp().

Here is the call graph for this function:

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

Reimplemented in OcFullMatrix, and OcSparseMatrix.

References unimp().

Referenced by SingleChan::set_rates().

Here is the call graph for this function:

virtual void OcMatrix::ident (  )  [inline, virtual]

Reimplemented in OcFullMatrix.

References unimp().

Here is the call graph for this function:

OcMatrix * OcMatrix::instance ( int  nrow,
int  ncol,
int  type = MFULL 
) [static]

References MFULL, and MSPARSE.

virtual void OcMatrix::inverse ( Matrix *  out  )  [inline, virtual]

Reimplemented in OcFullMatrix.

References unimp().

Here is the call graph for this function:

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

Reimplemented in OcFullMatrix, and OcSparseMatrix.

References nil, and unimp().

Referenced by SingleChan::get_rates().

Here is the call graph for this function:

virtual void OcMatrix::mulm ( Matrix *  in,
Matrix *  out 
) [inline, virtual]

Reimplemented in OcFullMatrix.

References unimp().

Here is the call graph for this function:

virtual void OcMatrix::muls ( double  ,
Matrix *  out 
) [inline, virtual]

Reimplemented in OcFullMatrix.

References unimp().

Here is the call graph for this function:

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

Reimplemented in OcFullMatrix, and OcSparseMatrix.

References unimp().

Here is the call graph for this function:

virtual int OcMatrix::ncol (  )  [inline, virtual]

Reimplemented in OcFullMatrix, and OcSparseMatrix.

References unimp().

Here is the call graph for this function:

virtual int OcMatrix::nrow (  )  [inline, virtual]

Reimplemented in OcFullMatrix, and OcSparseMatrix.

References unimp().

Referenced by SingleChan::set_rates().

Here is the call graph for this function:

virtual void OcMatrix::pow ( int  ,
Matrix *  out 
) [inline, virtual]

Reimplemented in OcFullMatrix.

References unimp().

Here is the call graph for this function:

virtual void OcMatrix::resize ( int  ,
int   
) [inline, virtual]

Reimplemented in OcFullMatrix.

References unimp().

Referenced by SingleChan::get_rates().

Here is the call graph for this function:

virtual void OcMatrix::setcol ( int  ,
double  in 
) [inline, virtual]

Reimplemented in OcFullMatrix, and OcSparseMatrix.

References unimp().

Here is the call graph for this function:

virtual void OcMatrix::setcol ( int  ,
Vect *  in 
) [inline, virtual]

Reimplemented in OcFullMatrix, and OcSparseMatrix.

References unimp().

Here is the call graph for this function:

virtual void OcMatrix::setdiag ( int  ,
double  in 
) [inline, virtual]

Reimplemented in OcFullMatrix, and OcSparseMatrix.

References unimp().

Here is the call graph for this function:

virtual void OcMatrix::setdiag ( int  ,
Vect *  in 
) [inline, virtual]

Reimplemented in OcFullMatrix, and OcSparseMatrix.

References unimp().

Here is the call graph for this function:

virtual void OcMatrix::setrow ( int  ,
double  in 
) [inline, virtual]

Reimplemented in OcFullMatrix, and OcSparseMatrix.

References unimp().

Here is the call graph for this function:

virtual void OcMatrix::setrow ( int  ,
Vect *  in 
) [inline, virtual]

Reimplemented in OcFullMatrix, and OcSparseMatrix.

References unimp().

Here is the call graph for this function:

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

Reimplemented in OcFullMatrix, and OcSparseMatrix.

References unimp().

Here is the call graph for this function:

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

Reimplemented in OcSparseMatrix.

References unimp().

Here is the call graph for this function:

virtual int OcMatrix::sprowlen ( int   )  [inline, virtual]

Reimplemented in OcSparseMatrix.

References unimp().

Here is the call graph for this function:

virtual void OcMatrix::svd1 ( Matrix *  u,
Matrix *  v,
Vect *  d 
) [inline, virtual]

Reimplemented in OcFullMatrix.

References unimp().

Here is the call graph for this function:

virtual void OcMatrix::symmeigen ( Matrix *  mout,
Vect *  vout 
) [inline, virtual]

Reimplemented in OcFullMatrix.

References unimp().

Here is the call graph for this function:

Object** OcMatrix::temp_objvar (  ) 
virtual void OcMatrix::transpose ( Matrix *  out  )  [inline, virtual]

Reimplemented in OcFullMatrix.

References unimp().

Here is the call graph for this function:

void OcMatrix::unimp (  ) 
virtual void OcMatrix::zero (  )  [inline, virtual]

Reimplemented in OcFullMatrix.

References unimp().

Referenced by SingleChan::get_rates().

Here is the call graph for this function:


Member Data Documentation

Object* OcMatrix::obj_

Referenced by OcMatrix().

int OcMatrix::type_ [private]

Referenced by full(), and OcMatrix().


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