mirror of
https://github.com/aportelli/LatAnalyze.git
synced 2025-04-11 03:20:46 +01:00
FitInterface: control of SVD tolerance
This commit is contained in:
parent
939520db24
commit
2fca987e8f
@ -191,6 +191,16 @@ const set<Index> & FitInterface::getDataIndexSet(void) const
|
|||||||
return dataIndexSet_;
|
return dataIndexSet_;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
double FitInterface::getSvdTolerance(void) const
|
||||||
|
{
|
||||||
|
return svdTol_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void FitInterface::setSvdTolerance(const double &tol)
|
||||||
|
{
|
||||||
|
svdTol_ = tol;
|
||||||
|
}
|
||||||
|
|
||||||
VarName & FitInterface::xName(void)
|
VarName & FitInterface::xName(void)
|
||||||
{
|
{
|
||||||
return xName_;
|
return xName_;
|
||||||
|
@ -77,6 +77,8 @@ public:
|
|||||||
Index getYFitSize(const Index j) const;
|
Index getYFitSize(const Index j) const;
|
||||||
Index getMaxDataIndex(void) const;
|
Index getMaxDataIndex(void) const;
|
||||||
const std::set<Index> & getDataIndexSet(void) const;
|
const std::set<Index> & getDataIndexSet(void) const;
|
||||||
|
double getSvdTolerance(void) const;
|
||||||
|
void setSvdTolerance(const double &tol);
|
||||||
VarName & xName(void);
|
VarName & xName(void);
|
||||||
const VarName & xName(void) const;
|
const VarName & xName(void) const;
|
||||||
VarName & yName(void);
|
VarName & yName(void);
|
||||||
@ -147,6 +149,7 @@ private:
|
|||||||
bool initLayout_{true};
|
bool initLayout_{true};
|
||||||
bool initVarMat_{true};
|
bool initVarMat_{true};
|
||||||
bool initDataCoord_{true};
|
bool initDataCoord_{true};
|
||||||
|
double svdTol_{1.e-10};
|
||||||
};
|
};
|
||||||
|
|
||||||
std::ostream & operator<<(std::ostream &out, FitInterface &f);
|
std::ostream & operator<<(std::ostream &out, FitInterface &f);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user