casa
$Rev:20696$
|
Describes a polynomial spectral profile. More...
#include <PolynomialSpectralElement.h>
Public Member Functions | |
PolynomialSpectralElement (const uInt n) | |
Construct an n-degree polynomial. | |
PolynomialSpectralElement (const Vector< Double > ¶m) | |
Construct the given tp with the given param. | |
PolynomialSpectralElement (const PolynomialSpectralElement &other) | |
Copy constructor (deep copy) | |
~PolynomialSpectralElement () | |
SpectralElement * | clone () const |
PolynomialSpectralElement & | operator= (const PolynomialSpectralElement &other) |
Double | operator() (const Double x) const |
Evaluate the value of the element at x. | |
uInt | getDegree () const |
Get the degree of polynomial. |
Describes a polynomial spectral profile.
Public interface
From polynomial and spectral line and element
The PolynomialSpectralElement class describes a polynomial spectral profile.
To have a container for data describing a polynomial spectral profile for fitting to an observed spectrum
Definition at line 66 of file PolynomialSpectralElement.h.
casa::PolynomialSpectralElement::PolynomialSpectralElement | ( | const uInt | n | ) | [explicit] |
Construct an n-degree polynomial.
casa::PolynomialSpectralElement::PolynomialSpectralElement | ( | const Vector< Double > & | param | ) |
SpectralElement* casa::PolynomialSpectralElement::clone | ( | ) | const [virtual] |
Implements casa::SpectralElement.
Get the degree of polynomial.
Evaluate the value of the element at x.
Implements casa::SpectralElement.
PolynomialSpectralElement& casa::PolynomialSpectralElement::operator= | ( | const PolynomialSpectralElement & | other | ) |