#include <matrix.h>
List of all members.
Public Member Functions |
| Matrix () |
| Matrix (unsigned, unsigned) |
| Matrix (unsigned) |
| Matrix (unsigned, unsigned, int, int) |
| ~Matrix () |
| Matrix (const Matrix &m) |
Matrix & | operator= (const Matrix &m) |
bool | operator== (const Matrix &m) |
double & | operator() (unsigned row, unsigned col) |
double | operator() (unsigned row, unsigned col) const |
Matrix | operator* (const Matrix &B) const |
Matrix | operator* (const double &rhs) const |
Matrix | operator+ (const Matrix &B) const |
Matrix | operator- (const Matrix &B) const |
Matrix | transpose () |
void | writeMatlab (std::ostream &o, string label) |
Matrix | subColumns (const set< unsigned > &colSet) |
Matrix | subColumnsDiff (const set< unsigned > &colSet) |
Matrix | rowSum () |
Matrix | cofactor (unsigned i, unsigned j) |
Matrix | GE () |
int | rank () |
double | trace () |
long double | det () |
long double | detCofactor () |
long double | detLU () |
long double | log_abs_det () |
void | SVD (Matrix &U, Matrix &S, Matrix &V) |
double | LU (Matrix &P, Matrix &L, Matrix &U) |
Matrix | inverse () |
int | rank_LAPACK () |
const int | getCols () |
const int | getRows () |
void | swapCols (unsigned i, unsigned j) |
void | swapRows (unsigned i, unsigned j) |
double | twoNorm () |
double | twoNormSquared () |
Public Attributes |
unsigned | rows |
unsigned | cols |
Static Public Attributes |
static int | printPadLength = 0 |
Friends |
std::ostream & | operator<< (std::ostream &o, const Matrix &someMatrix) |
std::istream & | operator>> (std::istream &in, Matrix &someMatrix) |
Constructor & Destructor Documentation
Matrix::Matrix |
( |
unsigned |
r, |
|
|
unsigned |
c |
|
) |
| |
Matrix::Matrix |
( |
unsigned |
d | ) |
|
Matrix::Matrix |
( |
unsigned |
r, |
|
|
unsigned |
c, |
|
|
int |
lower, |
|
|
int |
upper |
|
) |
| |
Matrix::Matrix |
( |
const Matrix & |
m | ) |
|
Member Function Documentation
Matrix Matrix::cofactor |
( |
unsigned |
i, |
|
|
unsigned |
j |
|
) |
| |
long double Matrix::det |
( |
| ) |
|
long double Matrix::detCofactor |
( |
| ) |
|
long double Matrix::detLU |
( |
| ) |
|
const int Matrix::getCols |
( |
| ) |
|
const int Matrix::getRows |
( |
| ) |
|
long double Matrix::log_abs_det |
( |
| ) |
|
double Matrix::operator() |
( |
unsigned |
row, |
|
|
unsigned |
col |
|
) |
| const |
double & Matrix::operator() |
( |
unsigned |
row, |
|
|
unsigned |
col |
|
) |
| |
Matrix Matrix::operator* |
( |
const double & |
rhs | ) |
const |
bool Matrix::operator== |
( |
const Matrix & |
m | ) |
|
int Matrix::rank_LAPACK |
( |
| ) |
|
Matrix Matrix::subColumns |
( |
const set< unsigned > & |
colSet | ) |
|
Matrix Matrix::subColumnsDiff |
( |
const set< unsigned > & |
colSet | ) |
|
void Matrix::swapCols |
( |
unsigned |
i, |
|
|
unsigned |
j |
|
) |
| |
void Matrix::swapRows |
( |
unsigned |
i, |
|
|
unsigned |
j |
|
) |
| |
double Matrix::twoNorm |
( |
| ) |
|
double Matrix::twoNormSquared |
( |
| ) |
|
void Matrix::writeMatlab |
( |
std::ostream & |
o, |
|
|
string |
label |
|
) |
| |
Friends And Related Function Documentation
std::ostream& operator<< |
( |
std::ostream & |
o, |
|
|
const Matrix & |
someMatrix |
|
) |
| [friend] |
std::istream& operator>> |
( |
std::istream & |
in, |
|
|
Matrix & |
someMatrix |
|
) |
| [friend] |
Member Data Documentation
The documentation for this class was generated from the following files:
- /usr/src/RPM/BUILD/CoinMOCHA-1.0.0/MOCHA/src/matrix.h
- /usr/src/RPM/BUILD/CoinMOCHA-1.0.0/MOCHA/src/matrix.cpp