gmsh-TingyuanDoc
0.1
An Open-Source Timing-driven Analytical Mixed-size FPGA Placer
|
Go to the source code of this file.
Functions | |
static double | _norm (std::vector< double > &x) |
static void | scale (std::vector< double > &x, double s) |
static void | gmshLineSearch (void(*func)(std::vector< double > &x, double &Obj, bool needGrad, std::vector< double > &gradObj, void *), void *data, std::vector< double > &x, std::vector< double > &p, std::vector< double > &g, double &f, double stpmax, int &check) |
double | GradientDescent (void(*func)(std::vector< double > &x, double &Obj, bool needGrad, std::vector< double > &gradObj, void *), std::vector< double > &x, void *data) |
|
static |
Definition at line 15 of file ConjugateGradients.cpp.
Referenced by gmshLineSearch().
|
static |
Definition at line 26 of file ConjugateGradients.cpp.
Referenced by GradientDescent().
double GradientDescent | ( | void(*)(std::vector< double > &x, double &Obj, bool needGrad, std::vector< double > &gradObj, void *) | func, |
std::vector< double > & | x, | ||
void * | data | ||
) |
|
static |
Definition at line 21 of file ConjugateGradients.cpp.
Referenced by drawEllipseArray(), drawVectorArray(), GMSH_EigenvectorsPlugin::execute(), ExtrudeParams::Extrude(), JacobianBasis::getJacobianGeneral(), gmshGenerateOrderedPoints(), gmshGeneratePointsPyramidGeneral(), gmshLineSearch(), MElement::idealJacRange(), meshMetric::scaleMetric(), and PView::writeX3D().