casa::CompiledSpectralElement Class Reference

Describes a compiled function for describing a spectral profile. More...

#include <CompiledSpectralElement.h>

Inheritance diagram for casa::CompiledSpectralElement:
casa::SpectralElement casa::GaussianMultipletSpectralElement

List of all members.

Public Member Functions

 CompiledSpectralElement (const String &function, const Vector< Double > &param)
 Construct a compiled string.
 CompiledSpectralElement (const CompiledSpectralElement &other)
virtual ~CompiledSpectralElement ()
SpectralElementclone () const
CompiledSpectralElementoperator= (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.

Detailed Description

Describes a compiled function for describing a spectral profile.

Intended use:

Public interface

Review Status

Date Reviewed:
yyyy/mm/dd
Test programs:
tSpectralFit

Prerequisite

Etymology

From compiled and spectral line and element

Synopsis

The CompiledSpectralElement class describes a compiled function for describing spectral profile.

Example

Motivation

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.


Constructor & Destructor Documentation

casa::CompiledSpectralElement::CompiledSpectralElement ( const String &  function,
const Vector< Double > &  param 
) [explicit]

Construct a compiled string.

casa::CompiledSpectralElement::CompiledSpectralElement ( const CompiledSpectralElement other  ) 
virtual casa::CompiledSpectralElement::~CompiledSpectralElement (  )  [virtual]

Member Function Documentation

SpectralElement* casa::CompiledSpectralElement::clone (  )  const [virtual]
* const String& casa::CompiledSpectralElement::getFunction (  )  const

Get the string of a compiled functional.

virtual Double casa::CompiledSpectralElement::operator() ( const Double  x  )  const [virtual]

Evaluate the value of the element at x.

Reimplemented from casa::SpectralElement.

CompiledSpectralElement& casa::CompiledSpectralElement::operator= ( const CompiledSpectralElement other  ) 

Reimplemented from casa::SpectralElement.

Reimplemented in casa::GaussianMultipletSpectralElement.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 31 Aug 2016 for casa by  doxygen 1.6.1