26#ifndef SCIMATH_LORENTZIAN1D_H 
   27#define SCIMATH_LORENTZIAN1D_H 
   30#include <casacore/casa/aips.h> 
   31#include <casacore/scimath/Functionals/Lorentzian1DParam.h> 
   32#include <casacore/scimath/Functionals/Function1D.h> 
   33#include <casacore/scimath/Mathematics/AutoDiff.h> 
   34#include <casacore/scimath/Mathematics/AutoDiffMath.h> 
  194#define Lorentzian1D_PS Lorentzian1D 
  231  Lorentzian1D_PS<AutoDiff<T> > &
 
 
  236  virtual ~Lorentzian1D_PS() {};
 
  255    *cloneNonAD()
 const {
 
 
 
  270#undef Lorentzian1D_PS 
  275#ifndef CASACORE_NO_AUTO_TEMPLATES 
  276#include "Lorentzian1D.tcc" 
  277#include "Lorentzian1D2.tcc" 
FunctionParam< T > param_p
The parameters and masks.
 
T center() const
Get or set the center ordinate of the Lorentzian.
 
T width() const
Get or set the FWHM of the Lorentzian.
 
Lorentzian1DParam< T > & operator=(const Lorentzian1DParam< T > &other)
Copy assignment (deep copy)
 
T fwhm2int
Constant to scale halfwidth at 1/e to FWHM.
 
T height() const
Get or set the peak height of the Lorentzian.
 
Lorentzian1D_PS(const Lorentzian1D_PS &other)
Copy constructor (deep copy)
 
virtual ~Lorentzian1D_PS()
Destructor.
 
virtual Function< AutoDiff< T > > * clone() const
Return a copy of this object from the heap.
 
Lorentzian1D_PS(const Lorentzian1D_PS< W > &other)
 
Lorentzian1D_PS(const AutoDiff< T > &height, const AutoDiff< T > ¢er)
 
Lorentzian1D_PS< AutoDiff< T > > & operator=(const Lorentzian1D_PS< AutoDiff< T > > &other)
Copy assignment (deep copy)
 
Lorentzian1D_PS(const AutoDiff< T > &height)
 
virtual AutoDiff< T > eval(typename Function< AutoDiff< T > >::FunctionArg x) const
Evaluate the Lorentzian and its derivatives at x.
 
virtual Function< typename FunctionTraits< AutoDiff< T > >::BaseType > * cloneNonAD() const
 
virtual Function< typename FunctionTraits< AutoDiff< T > >::DiffType > * cloneAD() const
 
Lorentzian1D_PS(const AutoDiff< T > &height, const AutoDiff< T > ¢er, const AutoDiff< T > &width)
 
Lorentzian1D_PS()
Constructs one dimensional Lorentzians.
 
Lorentzian1D(const T &height, const T ¢er)
 
Lorentzian1D()
Constructs the one dimensional Lorentzians.
 
Lorentzian1D(const Lorentzian1D< T > &other)
Copy constructor (deep copy)
 
virtual ~Lorentzian1D()
Destructor.
 
virtual Function< typename FunctionTraits< T >::BaseType > * cloneNonAD() const
 
virtual Function< typename FunctionTraits< T >::DiffType > * cloneAD() const
 
Lorentzian1D(const Lorentzian1D< W > &other)
 
virtual T eval(typename Function1D< T >::FunctionArg x) const
Evaluate the Lorentzian at x.
 
Lorentzian1D(const T &height)
 
virtual Function< T > * clone() const
Return a copy of this object from the heap.
 
Lorentzian1D(const T &height, const T ¢er, const T &width)
 
Lorentzian1D< T > & operator=(const Lorentzian1D< T > &other)
Copy assignment (deep copy)
 
this file contains all the compiler specific defines
 
PtrHolder< T > & operator=(const PtrHolder< T > &other)