Xmipp
v3.23.11-Nereus
|
#include <IntPoly.h>
Public Member Functions | |
double * | NewtonCoefficient (double *) |
void | ComputeLagrangeBasis (double *, unsigned nPtsTotal) |
void | GenerateBasis (double rho, double rhosmall, Matrix data, ObjectiveFunction *of) |
InterPolynomial (unsigned _deg, double rho, Vector vBase, Matrix data, ObjectiveFunction *of) | |
int | findAGoodPointToReplace (int excludeFromT, double rho, Vector pointToAdd, double *modelStep=NULL) |
void | replace (int t, Vector pointToAdd, double valueF) |
int | maybeAdd (Vector pointToAdd, unsigned k, double rho, double valueF) |
void | updateM (Vector newPoint, double valueF) |
int | checkIfValidityIsInBound (Vector dd, unsigned k, double bound, double rho) |
int | getGoodInterPolationSites (Matrix d, int k, double rho, Vector *v=NULL) |
double | interpError (Vector Point) |
void | translate (int k) |
void | translate (Vector translation) |
~InterPolynomial () | |
InterPolynomial (const InterPolynomial &A) | |
InterPolynomial & | operator= (const InterPolynomial &A) |
InterPolynomial | clone () |
void | copyFrom (InterPolynomial a) |
void | copyFrom (Polynomial a) |
InterPolynomial (unsigned dim, unsigned deg) | |
Public Member Functions inherited from Polynomial | |
Polynomial () | |
Polynomial (unsigned Dim, unsigned deg=0, double *data=0) | |
Polynomial (unsigned Dim, double val) | |
Polynomial (MultInd &) | |
Polynomial (char *name) | |
unsigned | dim () |
unsigned | deg () |
unsigned | sz () |
operator double * () const | |
~Polynomial () | |
Polynomial (const Polynomial &A) | |
Polynomial & | operator= (const Polynomial &A) |
Polynomial | clone () |
void | copyFrom (Polynomial a) |
Polynomial | operator* (const double) |
Polynomial | operator/ (const double) |
Polynomial | operator+ (Polynomial) |
Polynomial | operator- (Polynomial) |
Polynomial | operator- (void) |
Polynomial | operator+ (void) |
Polynomial | operator+= (Polynomial) |
Polynomial | operator-= (Polynomial) |
Polynomial | operator*= (const double) |
Polynomial | operator/= (const double) |
double | shiftedEval (Vector Point, double minusVal) |
double | operator() (Vector) |
Polynomial | derivate (int i) |
void | gradient (Vector P, Vector G) |
void | gradientHessian (Vector P, Vector G, Matrix H) |
void | translate (Vector translation) |
int | operator== (const Polynomial q) |
int | equals (Polynomial q) |
void | print () |
void | save (char *name) |
void | setFlag (unsigned int val) |
void | unsetFlag (unsigned int val) |
unsigned | queryFlag (unsigned int val) |
Public Attributes | |
double | M |
unsigned | nPtsUsed |
unsigned | nUpdateOfM |
Polynomial * | NewtonBasis |
Vector * | NewtonPoints |
Vector | vBase |
double * | valuesF |
int | kbest |
Protected Member Functions | |
void | destroyCurrentBuffer () |
Protected Member Functions inherited from Polynomial | |
void | init (int _dim, int _deg, double *data=NULL) |
void | destroyCurrentBuffer () |
Additional Inherited Members | |
Static Public Attributes inherited from Polynomial | |
static const unsigned int | NicePrint = 1 |
static const unsigned int | Warning = 2 |
static const unsigned int | Normalized = 4 |
static unsigned int | flags = Polynomial::Warning||Polynomial::NicePrint |
static Polynomial | emptyPolynomial |
Protected Types inherited from Polynomial | |
typedef struct Polynomial::PolynomialDataTag | PolynomialData |
Protected Attributes inherited from Polynomial | |
PolynomialData * | d |
InterPolynomial::InterPolynomial | ( | unsigned | _deg, |
double | rho, | ||
Vector | vBase, | ||
Matrix | data, | ||
ObjectiveFunction * | of | ||
) |
Definition at line 228 of file IntPoly.cpp.
InterPolynomial::~InterPolynomial | ( | ) |
Definition at line 819 of file IntPoly.cpp.
InterPolynomial::InterPolynomial | ( | const InterPolynomial & | A | ) |
Definition at line 824 of file IntPoly.cpp.
InterPolynomial::InterPolynomial | ( | unsigned | dim, |
unsigned | deg | ||
) |
Definition at line 861 of file IntPoly.cpp.
int InterPolynomial::checkIfValidityIsInBound | ( | Vector | dd, |
unsigned | k, | ||
double | bound, | ||
double | rho | ||
) |
Definition at line 684 of file IntPoly.cpp.
InterPolynomial InterPolynomial::clone | ( | ) |
Definition at line 868 of file IntPoly.cpp.
void InterPolynomial::ComputeLagrangeBasis | ( | double * | yy, |
unsigned | nPtsTotal | ||
) |
Definition at line 127 of file IntPoly.cpp.
void InterPolynomial::copyFrom | ( | InterPolynomial | a | ) |
Definition at line 876 of file IntPoly.cpp.
void InterPolynomial::copyFrom | ( | Polynomial | a | ) |
Definition at line 904 of file IntPoly.cpp.
|
protected |
Definition at line 805 of file IntPoly.cpp.
int InterPolynomial::findAGoodPointToReplace | ( | int | excludeFromT, |
double | rho, | ||
Vector | pointToAdd, | ||
double * | modelStep = NULL |
||
) |
Definition at line 551 of file IntPoly.cpp.
void InterPolynomial::GenerateBasis | ( | double | rho, |
double | rhosmall, | ||
Matrix | data, | ||
ObjectiveFunction * | of | ||
) |
Definition at line 324 of file IntPoly.cpp.
Definition at line 750 of file IntPoly.cpp.
double InterPolynomial::interpError | ( | Vector | Point | ) |
Definition at line 536 of file IntPoly.cpp.
int InterPolynomial::maybeAdd | ( | Vector | pointToAdd, |
unsigned | k, | ||
double | rho, | ||
double | valueF | ||
) |
Definition at line 649 of file IntPoly.cpp.
double* InterPolynomial::NewtonCoefficient | ( | double * | ) |
InterPolynomial & InterPolynomial::operator= | ( | const InterPolynomial & | A | ) |
Definition at line 838 of file IntPoly.cpp.
void InterPolynomial::replace | ( | int | t, |
Vector | pointToAdd, | ||
double | valueF | ||
) |
Definition at line 622 of file IntPoly.cpp.
void InterPolynomial::translate | ( | int | k | ) |
void InterPolynomial::translate | ( | Vector | translation | ) |
Definition at line 790 of file IntPoly.cpp.
void InterPolynomial::updateM | ( | Vector | newPoint, |
double | valueF | ||
) |
Definition at line 519 of file IntPoly.cpp.
Polynomial* InterPolynomial::NewtonBasis |