|
Stimfit
0.13.15
|
Function used for least-squares fitting. More...
#include <stfmath.h>

Public Member Functions | |
| storedFunc (const std::string &name_, const std::vector< parInfo > &pInfo_, const Func &func_, const Init &init_, const Jac &jac_, bool hasJac_=true, const Output &output_=defaultOutput) | |
| Constructor. | |
| ~storedFunc () | |
| Destructor. | |
Public Attributes | |
| std::string | name |
| std::vector< parInfo > | pInfo |
| Func | func |
| Init | init |
| Jac | jac |
| bool | hasJac |
| Output | output |
Function used for least-squares fitting.
Objects of this class are used for fitting functions to data. The client supplies a function (func), its jacobian (jac), information about the function's parameters (pInfo) and a function to initialize the parameters (init).
| stf::storedFunc::storedFunc | ( | const std::string & | name_, |
| const std::vector< parInfo > & | pInfo_, | ||
| const Func & | func_, | ||
| const Init & | init_, | ||
| const Jac & | jac_, | ||
| bool | hasJac_ = true, |
||
| const Output & | output_ = defaultOutput |
||
| ) | [inline] |
Constructor.
| name_ | Plain function name. |
| pInfo_ | A vector containing information about the function parameters. |
| func_ | The function that will be fitted to the data. |
| jac_ | Jacobian of func_. |
| hasJac_ | true if a Jacobian is available. |
| init_ | A function for initialising the parameters. |
| output_ | Output of the fit. |
| std::string stf::storedFunc::name |
| std::vector<parInfo> stf::storedFunc::pInfo |
1.7.6.1