#include "geoslib_old_f.h"
#include "Enum/EJustify.hpp"
#include "Basic/Utilities.hpp"
#include "Basic/File.hpp"
#include "Basic/String.hpp"
#include "Basic/OptDbg.hpp"
#include <math.h>
Functions | |
int | foxleg_f (int ndat, int npar, int ncont, const MatrixRectangular &acont, VectorDouble ¶m, VectorDouble &lower, VectorDouble &upper, VectorDouble &scale, const Option_AutoFit &mauto, int flag_title, void(*func_evaluate)(int ndat, int npar, VectorDouble ¶m, VectorDouble &work), VectorDouble &tabexp, VectorDouble &tabwgt) |
int | add_sill_constraints (Constraints &constraints, double constantSill) |
int | add_unit_sill_constraints (Constraints &constraints) |
int add_sill_constraints | ( | Constraints & | constraints, |
double | constantSill | ||
) |
Add constraints to the Option_AutoFit structure
[in] | constraints | Constraints structure |
[in] | constantSill | Constant value for the Sill as a constraint |
int add_unit_sill_constraints | ( | Constraints & | constraints | ) |
Add constraints (all equal to 1) to the Option_AutoFit structure
[in] | constraints | Constraints structure |
int foxleg_f | ( | int | ndat, |
int | npar, | ||
int | ncont, | ||
const MatrixRectangular & | acont, | ||
VectorDouble & | param, | ||
VectorDouble & | lower, | ||
VectorDouble & | upper, | ||
VectorDouble & | scale, | ||
const Option_AutoFit & | mauto, | ||
int | flag_title, | ||
void(*)(int ndat, int npar, VectorDouble ¶m, VectorDouble &work) | func_evaluate, | ||
VectorDouble & | tabexp, | ||
VectorDouble & | tabwgt | ||
) |
Foxleg algorithm
[in] | ndat | Number of control points |
[in] | npar | Number of parameters to estimate |
[in] | ncont | Number of additional constraints |
[in] | acont | Matrix of additional constraints (Dimension = ncont * npar) |
[in] | param | Current values of the parameters |
[in] | lower | Array of lower values |
[in] | upper | Array of upper values |
[in] | scale | Array of scale |
[in] | mauto | Option_AutoFit structure |
[in] | flag_title | Print the title after func_evaluate() |
[in] | func_evaluate | Function for evaluating the model |
[in] | tabexp | Array of values at control points |
[in] | tabwgt | Array of weights at control points |