OBOE
0.1
|
#include <AccpmVector.h>
Public Member Functions | |
AccpmVector () | |
AccpmVector (int n) | |
AccpmVector (double *v, int n) | |
AccpmVector (const LaGenMatDouble &s) | |
virtual | ~AccpmVector () |
AccpmVector & | operator= (double s) |
AccpmVector & | operator= (const LaGenMatDouble &s) |
bool | operator== (const AccpmVector &v) const |
void | copy (const StdRealVector &v1) |
void | append (const AccpmVector &v) |
void | append (const double entry) |
int | deleteElem (int id) |
void | negate () |
void | invert () |
double | min (int *index=0) const |
double | max (int *index=0) const |
void | times (const AccpmVector &v) |
void | rdivide (const AccpmVector &v) |
double | sum () const |
Class for handling vectors which are compatible with BLAS and LAPACK.
Accpm::AccpmVector::AccpmVector | ( | int | n | ) |
Accpm::AccpmVector::AccpmVector | ( | double * | v, |
int | n | ||
) |
Accpm::AccpmVector::AccpmVector | ( | const LaGenMatDouble & | s | ) |
virtual Accpm::AccpmVector::~AccpmVector | ( | ) | [inline, virtual] |
void Accpm::AccpmVector::append | ( | const AccpmVector & | v | ) |
void Accpm::AccpmVector::append | ( | const double | entry | ) |
void Accpm::AccpmVector::copy | ( | const StdRealVector & | v1 | ) |
int Accpm::AccpmVector::deleteElem | ( | int | id | ) |
void Accpm::AccpmVector::invert | ( | ) |
References DBL_CMP().
Referenced by Accpm::Manager::computeBox1Constraint(), and Accpm::Manager::computeBox2Constraint().
double Accpm::AccpmVector::max | ( | int * | index = 0 | ) | const |
References ACCPM_MINUS_INF.
double Accpm::AccpmVector::min | ( | int * | index = 0 | ) | const |
References ACCPM_PLUS_INF.
void Accpm::AccpmVector::negate | ( | ) |
References AccpmLAScale().
Referenced by Accpm::Manager::callSmoothOracle(), Accpm::LocSet::computeFullAE(), Accpm::Manager::init(), and Accpm::Manager::update1().
AccpmVector & Accpm::AccpmVector::operator= | ( | double | s | ) |
Referenced by operator=().
AccpmVector & Accpm::AccpmVector::operator= | ( | const LaGenMatDouble & | s | ) |
References operator=().
bool Accpm::AccpmVector::operator== | ( | const AccpmVector & | v | ) | const |
References DBL_CMP().
void Accpm::AccpmVector::rdivide | ( | const AccpmVector & | v | ) |
Element by element division ./ or rdivide operation of MATLAB
References DBL_CMP().
Referenced by Accpm::LocSet::computeFullATQA(), and Accpm::Manager::updateVariables().
double Accpm::AccpmVector::sum | ( | ) | const |
References AccpmLADotProd().
Referenced by Accpm::QpGenerator::printIteration().
void Accpm::AccpmVector::times | ( | const AccpmVector & | v | ) |
Element by element mutliplication .* or times operation of MATLAB
Referenced by Accpm::Manager::computeBox2Constraint(), and Accpm::AccpmGenMatrix::scaleColumn().