28 #ifndef SCIMATH_LSQAIPS_H
29 #define SCIMATH_LSQAIPS_H
32 #include <casacore/casa/aips.h>
33 #include <casacore/casa/Arrays/Array.h>
34 #include <casacore/casa/Arrays/Vector.h>
35 #include <casacore/casa/Arrays/VectorSTLIterator.h>
36 #include <casacore/scimath/Fitting/LSQFit.h>
203 #ifndef CASACORE_NO_AUTO_TEMPLATES
204 #include <casacore/scimath/Fitting/LSQaips.tcc>
Type of complex numeric class indicator
void solve(U *sol)
Solve normal equations.
uInt nUnknowns() const
Get the number of unknowns.
Bool solveLoop(uInt &nRank, U *sol, Bool doSVD=False)
Solve a loop in a non-linear set.
LSQFit & operator=(const LSQFit &other)
Assignment (deep copy)
Bool getCovariance(U *covar)
Get the covariance matrix (of size nUnknowns * nUnknowns)
Bool getErrors(U *errors)
Get main diagonal of covariance function (of size nUnknowns)
static const String errors
uInt nConstraints() const
Get the number of constraints.
Traits for numeric classes used
LSQaips(const LSQaips &other)
Copy constructor (deep copy)
Bool solveLoop(uInt &nRank, std::complex< U > *sol, Bool doSVD=False)
LSQaips(uInt nUnknowns, const LSQReal &, uInt nConstraints=0)
Allow explicit complex/real specification.
Bool getCovariance(Array< U > &covar)
void solve(Vector< U > &sol)
Bool solveLoop(Double &fit, uInt &nRank, U *sol, Bool doSVD=False)
LSQaips()
Default constructor (empty, real, only usable after a set(nUnknowns))
Bool solveLoop(Double &fit, uInt &nRank, Vector< U > &sol, Bool doSVD=False)
Bool getErrors(std::complex< U > *errors)
Bool getCovariance(U *covar)
Get the covariance matrix.
Bool getErrors(Vector< U > &errors)
Bool solveLoop(uInt &nRank, U &sol, Bool doSVD=False)
void solve(std::complex< U > *sol)
Bool getErrors(U *errors)
Get main diagonal of covariance function (of size nUnknowns)
Bool solveLoop(Double &fit, uInt &nRank, std::complex< U > *sol, Bool doSVD=False)
Bool solveLoop(uInt &nRank, U *sol, Bool doSVD=False)
Solve a Levenberg-Marquardt loop.
Bool getErrors(U &errors)
LSQaips & operator=(const LSQaips &other)
Assignment (deep copy)
LSQaips(uInt nUnknowns, const LSQComplex &, uInt nConstraints=0)
Bool solveLoop(uInt &nRank, Vector< U > &sol, Bool doSVD=False)
LSQaips(uInt nUnknowns, uInt nConstraints=0)
Construct an object with the number of unknown, knowns and constraints, and type, using the default c...
Bool getCovariance(std::complex< U > *covar)
void solve(U *sol)
Solve normal equations.
Bool solveLoop(Double &fit, uInt &nRank, U &sol, Bool doSVD=False)
const Char * data() const
As pointer to char array
String & resize(size_type n)
Resize by truncating or extending with copies of c (default Char())
this file contains all the compiler specific defines
bool Bool
Define the standard types used by Casacore.