OBOE 0.1
|
#include <AccpmGenMatrix.h>
Public Member Functions | |
AccpmGenMatrix () | |
AccpmGenMatrix (int m, int n) | |
AccpmGenMatrix (double *v, int m, int n, bool row_ordering) | |
AccpmGenMatrix (const AccpmGenMatrix &) | |
AccpmGenMatrix (const RealMatrix &) | |
AccpmGenMatrix (const AccpmVector &) | |
virtual | ~AccpmGenMatrix () |
AccpmGenMatrix * | transpose () const |
AccpmGenMatrix & | operator= (double s) |
AccpmGenMatrix & | operator= (const AccpmGenMatrix &s) |
RealVector | getColumn (int i) const |
RealVector | getRow (int i) const |
void | scaleColumn (int i, double d) |
void | scaleColumn (int i, const AccpmVector &d) |
void | assignColumn (int colId, const AccpmVector &v) |
void | assignRow (int rowId, const AccpmVector &v) |
void | addMult (double scale, const AccpmGenMatrix &b) |
void | scale (double scale) |
Class for handling matrices which are compatible with LAPACK++
Accpm::AccpmGenMatrix::AccpmGenMatrix | ( | ) |
Referenced by transpose().
Accpm::AccpmGenMatrix::AccpmGenMatrix | ( | int | m, |
int | n | ||
) |
Accpm::AccpmGenMatrix::AccpmGenMatrix | ( | double * | v, |
int | m, | ||
int | n, | ||
bool | row_ordering | ||
) |
Accpm::AccpmGenMatrix::AccpmGenMatrix | ( | const AccpmGenMatrix & | rhs | ) |
Accpm::AccpmGenMatrix::AccpmGenMatrix | ( | const RealMatrix & | rhs | ) |
Accpm::AccpmGenMatrix::AccpmGenMatrix | ( | const AccpmVector & | rhs | ) |
virtual Accpm::AccpmGenMatrix::~AccpmGenMatrix | ( | ) | [inline, virtual] |
void Accpm::AccpmGenMatrix::addMult | ( | double | scale, |
const AccpmGenMatrix & | b | ||
) |
Equivalent of Blas_Add_Mult for Matrices
References scale().
void Accpm::AccpmGenMatrix::assignColumn | ( | int | colId, |
const AccpmVector & | v | ||
) |
void Accpm::AccpmGenMatrix::assignRow | ( | int | rowId, |
const AccpmVector & | v | ||
) |
Referenced by Accpm::AccpmDynMatrix::addRow(), Accpm::LocSet::computeFullATQA(), and transpose().
RealVector Accpm::AccpmGenMatrix::getColumn | ( | int | i | ) | const |
RealVector Accpm::AccpmGenMatrix::getRow | ( | int | i | ) | const |
AccpmGenMatrix & Accpm::AccpmGenMatrix::operator= | ( | double | s | ) |
Referenced by operator=().
AccpmGenMatrix & Accpm::AccpmGenMatrix::operator= | ( | const AccpmGenMatrix & | s | ) |
References operator=().
void Accpm::AccpmGenMatrix::scale | ( | double | scale | ) |
Equivalent of Blas_Scale for Matrices
Referenced by addMult().
void Accpm::AccpmGenMatrix::scaleColumn | ( | int | i, |
const AccpmVector & | d | ||
) |
Scale column i by a vector col(i) .* d
References Accpm::AccpmVector::times().
void Accpm::AccpmGenMatrix::scaleColumn | ( | int | i, |
double | d | ||
) |
Referenced by Accpm::Manager::callSmoothOracle(), Accpm::Manager::update1(), and Accpm::Manager::update2().
AccpmGenMatrix * Accpm::AccpmGenMatrix::transpose | ( | ) | const |
References AccpmGenMatrix(), assignRow(), and getColumn().
Referenced by Accpm::LocSet::computeFullAE(), and Accpm::LocSet::LocSet().