OBOE  0.1
Accpm::AccpmGenMatrix Class Reference

#include <AccpmGenMatrix.h>

List of all members.

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 ()
AccpmGenMatrixtranspose () const
AccpmGenMatrixoperator= (double s)
AccpmGenMatrixoperator= (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)

Detailed Description

Class for handling matrices which are compatible with LAPACK++


Constructor & Destructor Documentation

Accpm::AccpmGenMatrix::AccpmGenMatrix ( int  m,
int  n 
)
Accpm::AccpmGenMatrix::AccpmGenMatrix ( double *  v,
int  m,
int  n,
bool  row_ordering 
)
virtual Accpm::AccpmGenMatrix::~AccpmGenMatrix ( ) [inline, virtual]

Member Function Documentation

void Accpm::AccpmGenMatrix::addMult ( double  scale,
const AccpmGenMatrix b 
)

Equivalent of Blas_Add_Mult for Matrices

References scale().

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().


The documentation for this class was generated from the following files: