28 #ifndef SCIMATH_LSQAIPS_H
29 #define SCIMATH_LSQAIPS_H
203 #ifndef CASACORE_NO_AUTO_TEMPLATES
204 #include <casacore/scimath/Fitting/LSQaips.tcc>
205 #endif //# CASACORE_NO_AUTO_TEMPLATES
Bool getCovariance(U *covar)
Get the covariance matrix (of size nUnknowns * nUnknowns)
LSQaips(const LSQaips &other)
Copy constructor (deep copy)
A 1-D Specialization of the Array class.
Bool getCovariance(U *covar)
Get the covariance matrix.
void solve(std::complex< U > *sol)
Interface for Casacore Vectors in least squares fitting.
Bool solveLoop(uInt &nRank, std::complex< U > *sol, Bool doSVD=False)
static const String errors
LSQaips()
Default constructor (empty, real, only usable after a set(nUnknowns))
Bool solveLoop(Double &fit, uInt &nRank, U &sol, Bool doSVD=False)
Bool getCovariance(std::complex< U > *covar)
Bool getErrors(U *errors)
Get main diagonal of covariance function (of size nUnknowns)
Basic class for the least squares fitting.
LSQaips(uInt nUnknowns, const LSQComplex &, uInt nConstraints=0)
Bool getErrors(std::complex< U > *errors)
uInt nConstraints() const
Get the number of constraints.
uInt nUnknowns() const
Get the number of unknowns.
void solve(U *sol)
Solve normal equations.
LSQFit & operator=(const LSQFit &other)
Assignment (deep copy)
T * data()
Get a pointer to the beginning of the array.
LSQaips & operator=(const LSQaips &other)
Assignment (deep copy)
Bool getErrors(Vector< U > &errors)
Traits for numeric classes used.
Bool getErrors(U &errors)
bool Bool
Define the standard types used by Casacore.
Bool solveLoop(uInt &nRank, U &sol, Bool doSVD=False)
Bool solveLoop(uInt &nRank, U *sol, Bool doSVD=False)
Solve a loop in a non-linear set.
LSQaips(uInt nUnknowns, const LSQReal &, uInt nConstraints=0)
Allow explicit complex/real specification.
template <class T, class U> class vector;
Bool solveLoop(uInt &nRank, U *sol, Bool doSVD=False)
Solve a Levenberg-Marquardt loop.
Type of complex numeric class indicator.
Bool getErrors(U *errors)
Get main diagonal of covariance function (of size nUnknowns)
Typing support classes for LSQ classes.
void solve(U *sol)
Solve normal equations.
LSQaips(uInt nUnknowns, uInt nConstraints=0)
Construct an object with the number of unknown, knowns and constraints, and type, using the default c...
void resize(size_t len, Bool copyValues=False)
void solve(Vector< U > &sol)
Bool solveLoop(Double &fit, uInt &nRank, U *sol, Bool doSVD=False)
#define casacore
<X11/Intrinsic.h> #defines true, false, casacore::Bool, and String.
Bool solveLoop(Double &fit, uInt &nRank, std::complex< U > *sol, Bool doSVD=False)