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)
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.
A templated N-D Array class with zero origin. Array<T, Alloc> is a templated, N-dimensional, Array class. The origin is zero, but by default indices are zero-based. This Array class is the base class for the Vector, Matrix, and Cube subclasses.
Bool solveLoop(uInt &nRank, U *sol, Bool doSVD=False)
Solve a Levenberg-Marquardt loop.
Type of complex numeric class indicator.
void resize(size_t len, bool copyValues=false)
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 solve(Vector< U > &sol)
Bool solveLoop(Double &fit, uInt &nRank, U *sol, Bool doSVD=False)
T * data()
Get a pointer to the beginning of the array.
Bool solveLoop(Double &fit, uInt &nRank, std::complex< U > *sol, Bool doSVD=False)