OverSim
|
#include <yang.h>
Public Member Functions | |
Mtx (int n, int m, double **) | |
Mtx (int n, int m, double d=0) | |
Mtx (const Mtx &) | |
~Mtx () | |
Mtx & | operator= (const Mtx &) |
Mtx & | operator+= (const Mtx &) |
Mtx & | operator-= (const Mtx &) |
Vtr | operator* (const Vtr &) const |
double * | operator[] (int i) const |
Mtx & | operator+ () |
Mtx | operator+ (const Mtx &) |
int | rows () const |
int | cols () const |
void | getcol (int i, Vtr &vec) const |
void | setcol (int i, const Vtr &vec) |
void | clear () |
int | transpose (Mtx &dest) const |
Mtx | operator* (const Mtx &) const |
const double & | operator() (int i, int j) const |
double & | operator() (int i, int j) |
int | QRdecomp (Mtx &Q, Mtx &R) |
int | QRdecomp_slow (Mtx &Q, Mtx &R) |
Private Attributes | |
int | nrows |
int | ncols |
double ** | ets |
Friends | |
Mtx | operator- (const Mtx &) |
Mtx | operator- (const Mtx &, const Mtx &) |
Vtr | operator* (const Vtr &, const Mtx &) |
std::ostream & | operator<< (std::ostream &, const Mtx &) |
Mtx::Mtx | ( | int | n, |
int | m, | ||
double ** | dbp | ||
) |
Mtx::Mtx | ( | int | n, |
int | m, | ||
double | d = 0 |
||
) |
Mtx::Mtx | ( | const Mtx & | mat | ) |
Mtx::~Mtx | ( | ) |
void Mtx::clear | ( | ) |
Definition at line 251 of file yang.cc.
Referenced by QRdecomp(), and QRdecomp_slow().
|
inline |
void Mtx::getcol | ( | int | i, |
Vtr & | vec | ||
) | const |
|
inline |
|
inline |
Mtx & Mtx::operator+ | ( | ) |
|
inline |
Definition at line 302 of file yang.cc.
Definition at line 352 of file yang.cc.
|
inline |
void Mtx::setcol | ( | int | i, |
const Vtr & | vec | ||
) |
int Mtx::transpose | ( | Mtx & | dest | ) | const |
|
friend |
|
private |
Definition at line 52 of file yang.h.
Referenced by clear(), getcol(), Mtx(), operator()(), operator*(), operator*(), operator+=(), operator-=(), operator<<(), operator=(), operator[](), QRdecomp(), QRdecomp_slow(), setcol(), transpose(), and ~Mtx().
|
private |
Definition at line 51 of file yang.h.
Referenced by clear(), cols(), Mtx(), operator*(), operator*(), operator+=(), operator-(), operator-=(), operator=(), QRdecomp(), QRdecomp_slow(), and transpose().
|
private |
Definition at line 50 of file yang.h.
Referenced by clear(), getcol(), Mtx(), operator*(), operator*(), operator+=(), operator-(), operator-=(), operator=(), QRdecomp(), QRdecomp_slow(), rows(), setcol(), transpose(), and ~Mtx().