1
0
mirror of https://github.com/aportelli/LatAnalyze.git synced 2025-08-03 06:47:06 +01:00

Model: binding functions

This commit is contained in:
2015-01-28 17:19:57 +00:00
parent c0d717bcb6
commit 9c6dedd3d6
3 changed files with 24 additions and 6 deletions

View File

@@ -52,8 +52,10 @@ public:
double operator()(const std::vector<double> &data,
const std::vector<double> &par) const;
virtual double operator()(const double *data, const double *par) const;
// model bind
DoubleFunction getBind(const DVec &par) const;
// bind
DoubleFunction fixArg(const DVec &arg) const;
DoubleFunction fixPar(const DVec &par) const;
DoubleFunction toFunction(void) const;
private:
// error checking
void checkSize(const Index nArg, const Index nPar) const;