casa
$Rev:20696$
|
Describes a compiled function for describing a spectral profile. More...
#include <CompiledSpectralElement.h>
Public Member Functions | |
CompiledSpectralElement (const String &function, const Vector< Double > ¶m) | |
Construct a compiled string. | |
CompiledSpectralElement (const CompiledSpectralElement &other) | |
virtual | ~CompiledSpectralElement () |
SpectralElement * | clone () const |
CompiledSpectralElement & | operator= (const CompiledSpectralElement &other) |
virtual Double | operator() (const Double x) const |
Evaluate the value of the element at x. | |
const String & | getFunction () const |
Get the string of a compiled functional. |
Describes a compiled function for describing a spectral profile.
Public interface
From compiled and spectral line and element
The CompiledSpectralElement class describes a compiled function for describing spectral profile.
To have a container for data describing a compiled function for describing a spectral profile for fitting to an observed spectrum
Definition at line 66 of file CompiledSpectralElement.h.
casa::CompiledSpectralElement::CompiledSpectralElement | ( | const String & | function, |
const Vector< Double > & | param | ||
) | [explicit] |
Construct a compiled string.
virtual casa::CompiledSpectralElement::~CompiledSpectralElement | ( | ) | [virtual] |
SpectralElement* casa::CompiledSpectralElement::clone | ( | ) | const [virtual] |
Implements casa::SpectralElement.
Reimplemented in casa::GaussianMultipletSpectralElement.
const String& casa::CompiledSpectralElement::getFunction | ( | ) | const |
Get the string of a compiled functional.
Evaluate the value of the element at x.
Implements casa::SpectralElement.
CompiledSpectralElement& casa::CompiledSpectralElement::operator= | ( | const CompiledSpectralElement & | other | ) |