![]() |
NEURON
|
#include <ocmatrix.h>
Public Member Functions | |
OcFullMatrix (int, int) | |
~OcFullMatrix () override=default | |
double & | coeff (int, int) override |
double | getval (int i, int j) const override |
int | nrow () const override |
int | ncol () const override |
void | resize (int, int) override |
void | mulv (Vect *in, Vect *out) const override |
void | mulm (Matrix *in, Matrix *out) const override |
void | muls (double, Matrix *out) const override |
void | add (Matrix *, Matrix *out) const override |
void | getrow (int, Vect *out) const override |
void | getcol (int, Vect *out) const override |
void | getdiag (int, Vect *out) const override |
void | setrow (int, Vect *in) override |
void | setcol (int, Vect *in) override |
void | setdiag (int, Vect *in) override |
void | setrow (int, double in) override |
void | setcol (int, double in) override |
void | setdiag (int, double in) override |
void | zero () override |
void | ident () override |
void | exp (Matrix *out) const override |
void | pow (int, Matrix *out) const override |
void | inverse (Matrix *out) const override |
void | solv (Vect *vin, Vect *vout, bool use_lu) override |
void | copy (Matrix *out) const override |
void | bcopy (Matrix *mout, int i0, int j0, int n0, int m0, int i1, int j1) const override |
void | transpose (Matrix *out) override |
void | symmeigen (Matrix *mout, Vect *vout) const override |
void | svd1 (Matrix *u, Matrix *v, Vect *d) const override |
double | det (int *exponent) const override |
![]() | |
virtual | ~OcMatrix ()=default |
double * | mep (int i, int j) |
double | operator() (int i, int j) const |
double & | operator() (int i, int j) |
virtual std::vector< std::pair< int, int > > | nonzeros () const |
OcFullMatrix * | full () |
void | mulv (Vect &in, Vect &out) const |
virtual int | sprowlen (int) const |
virtual double | spgetrowval (int i, int jindx, int *j) const |
void | unimp () const |
Private Attributes | |
Eigen::Matrix< double, Eigen::Dynamic, Eigen::Dynamic, Eigen::RowMajor > | m_ {} |
std::unique_ptr< Eigen::FullPivLU< decltype(m_)> > | lu_ {} |
Additional Inherited Members | |
![]() | |
enum | { MFULL = 1 , MSPARSE , MBAND } |
![]() | |
static OcMatrix * | instance (int nrow, int ncol, int type=MFULL) |
![]() | |
Object * | obj_ {} |
![]() | |
OcMatrix (int type) | |
Definition at line 166 of file ocmatrix.h.
OcFullMatrix::OcFullMatrix | ( | int | nrow, |
int | ncol | ||
) |
Definition at line 60 of file ocmatrix.cpp.
|
overridedefault |
Reimplemented from OcMatrix.
Definition at line 100 of file ocmatrix.cpp.
|
overridevirtual |
Reimplemented from OcMatrix.
Definition at line 108 of file ocmatrix.cpp.
|
overridevirtual |
Reimplemented from OcMatrix.
Definition at line 67 of file ocmatrix.cpp.
|
overridevirtual |
Reimplemented from OcMatrix.
Definition at line 104 of file ocmatrix.cpp.
|
overridevirtual |
Reimplemented from OcMatrix.
Definition at line 228 of file ocmatrix.cpp.
|
overridevirtual |
Reimplemented from OcMatrix.
Definition at line 207 of file ocmatrix.cpp.
|
overridevirtual |
Reimplemented from OcMatrix.
Definition at line 145 of file ocmatrix.cpp.
|
overridevirtual |
Reimplemented from OcMatrix.
Definition at line 150 of file ocmatrix.cpp.
|
overridevirtual |
Reimplemented from OcMatrix.
Definition at line 140 of file ocmatrix.cpp.
|
overridevirtual |
Reimplemented from OcMatrix.
Definition at line 70 of file ocmatrix.cpp.
|
overridevirtual |
Reimplemented from OcMatrix.
Definition at line 203 of file ocmatrix.cpp.
|
overridevirtual |
Reimplemented from OcMatrix.
Definition at line 215 of file ocmatrix.cpp.
Reimplemented from OcMatrix.
Definition at line 92 of file ocmatrix.cpp.
|
overridevirtual |
Reimplemented from OcMatrix.
Definition at line 96 of file ocmatrix.cpp.
Reimplemented from OcMatrix.
Definition at line 86 of file ocmatrix.cpp.
|
overridevirtual |
Reimplemented from OcMatrix.
Definition at line 76 of file ocmatrix.cpp.
|
overridevirtual |
Reimplemented from OcMatrix.
Definition at line 73 of file ocmatrix.cpp.
|
overridevirtual |
Reimplemented from OcMatrix.
Definition at line 211 of file ocmatrix.cpp.
|
overridevirtual |
Reimplemented from OcMatrix.
Definition at line 80 of file ocmatrix.cpp.
|
overridevirtual |
Reimplemented from OcMatrix.
Definition at line 191 of file ocmatrix.cpp.
|
overridevirtual |
Reimplemented from OcMatrix.
Definition at line 168 of file ocmatrix.cpp.
|
overridevirtual |
Reimplemented from OcMatrix.
Definition at line 195 of file ocmatrix.cpp.
|
overridevirtual |
Reimplemented from OcMatrix.
Definition at line 173 of file ocmatrix.cpp.
|
overridevirtual |
Reimplemented from OcMatrix.
Definition at line 187 of file ocmatrix.cpp.
|
overridevirtual |
Reimplemented from OcMatrix.
Definition at line 163 of file ocmatrix.cpp.
Reimplemented from OcMatrix.
Definition at line 219 of file ocmatrix.cpp.
Reimplemented from OcMatrix.
Definition at line 128 of file ocmatrix.cpp.
Reimplemented from OcMatrix.
Definition at line 121 of file ocmatrix.cpp.
|
overridevirtual |
Reimplemented from OcMatrix.
Definition at line 112 of file ocmatrix.cpp.
|
overridevirtual |
Reimplemented from OcMatrix.
Definition at line 199 of file ocmatrix.cpp.
|
private |
Definition at line 205 of file ocmatrix.h.
|
private |
Definition at line 204 of file ocmatrix.h.