OverSim
|
#include <simplex.h>
Public Member Functions | |
Simplex (int dimension) | |
~Simplex () | |
Vec_DP & | operator[] (int i) const |
int | high (double *val=0) const |
int | low (double *val=0) const |
void | centroid (Vec_DP &vec) const |
double | size () const |
int | reflect () |
int | reflect_exp () |
int | contract () |
void | reduce () |
Public Attributes | |
CoordCalcFunction * | functionObject |
Private Attributes | |
int | nverts |
Vec_DP ** | verts |
int | dim |
Simplex::Simplex | ( | int | dimension | ) |
Simplex::~Simplex | ( | ) |
Definition at line 28 of file simplex.cc.
void Simplex::centroid | ( | Vec_DP & | vec | ) | const |
int Simplex::contract | ( | ) |
Definition at line 116 of file simplex.cc.
Referenced by CoordCalcFunction::simplex_min().
int Simplex::high | ( | double * | val = 0 | ) | const |
Definition at line 35 of file simplex.cc.
Referenced by CoordCalcFunction::simplex_min().
int Simplex::low | ( | double * | val = 0 | ) | const |
Definition at line 52 of file simplex.cc.
Referenced by CoordCalcFunction::simplex_min().
|
inline |
void Simplex::reduce | ( | ) |
Definition at line 126 of file simplex.cc.
Referenced by CoordCalcFunction::simplex_min().
int Simplex::reflect | ( | ) |
Definition at line 96 of file simplex.cc.
Referenced by CoordCalcFunction::simplex_min().
int Simplex::reflect_exp | ( | ) |
Definition at line 106 of file simplex.cc.
Referenced by CoordCalcFunction::simplex_min().
double Simplex::size | ( | ) | const |
CoordCalcFunction* Simplex::functionObject |
Definition at line 24 of file simplex.h.
Referenced by CoordCalcFunction::simplex_min().
|
private |
Definition at line 20 of file simplex.h.
Referenced by operator[]().