casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Private Member Functions | Private Attributes
casa::ExpSincConv< T > Class Template Reference

Exponential times a Sinc. More...

#include <MathFunc.h>

Inheritance diagram for casa::ExpSincConv< T >:
casa::MathFunc< T >

List of all members.

Public Member Functions

 ExpSincConv (T cut=MathFunc< T >::defcutoff(), T sincparm=MathFunc< T >::defSincparm(), T exppow=MathFunc< T >::defExpPower(), T expscale=MathFunc< T >::defExpScale())
 default constructor
 ExpSincConv (const ExpSincConv< T > &)
 copy constructor
ExpSincConv< T > & operator= (const ExpSincConv< T > &)
 assignment operator
sup_value () const
 get access to the support width
value (const T &) const
 and get the value of the function
FuncId id () const
 return FuncID structure for Table storage/retrieval.

Private Member Functions

MathFunc< T > * clone () const
 for every derived class, return new of that class with its own parameters

Private Attributes

sup_width
scale
exponent
sincpByPi

Detailed Description

template<class T>
class casa::ExpSincConv< T >

Exponential times a Sinc.

Synopsis

An Exponential times a Sinc

The value(T &x) is given by Exp(-(abs(x) / expscale) ** exppow) * Sinc( pi * x / sincparm)

where the 3 paramaters correspond to those in the default constructor Note that the default case of exppow = 2 is a Gaussian times a Sinc. Since this is often a useful case, that parameter appears last in the constructor.

Definition at line 505 of file MathFunc.h.


Constructor & Destructor Documentation

template<class T>
casa::ExpSincConv< T >::ExpSincConv ( cut = MathFunc< T >::defcutoff(),
sincparm = MathFunc< T >::defSincparm(),
exppow = MathFunc< T >::defExpPower(),
expscale = MathFunc< T >::defExpScale() 
)

default constructor

template<class T>
casa::ExpSincConv< T >::ExpSincConv ( const ExpSincConv< T > &  )

copy constructor


Member Function Documentation

template<class T>
MathFunc<T>* casa::ExpSincConv< T >::clone ( ) const [private, virtual]

for every derived class, return new of that class with its own parameters

Reimplemented from casa::MathFunc< T >.

template<class T>
FuncId casa::ExpSincConv< T >::id ( ) const [virtual]

return FuncID structure for Table storage/retrieval.

Reimplemented from casa::MathFunc< T >.

template<class T>
ExpSincConv<T>& casa::ExpSincConv< T >::operator= ( const ExpSincConv< T > &  )

assignment operator

template<class T>
T casa::ExpSincConv< T >::sup_value ( ) const [inline, virtual]

get access to the support width

Reimplemented from casa::MathFunc< T >.

Definition at line 522 of file MathFunc.h.

References casa::ExpSincConv< T >::sup_width.

template<class T>
T casa::ExpSincConv< T >::value ( const T &  ) const [virtual]

and get the value of the function

Reimplemented from casa::MathFunc< T >.


Member Data Documentation

template<class T>
T casa::ExpSincConv< T >::exponent [private]

Definition at line 534 of file MathFunc.h.

template<class T>
T casa::ExpSincConv< T >::scale [private]

Definition at line 534 of file MathFunc.h.

template<class T>
T casa::ExpSincConv< T >::sincpByPi [private]

Definition at line 534 of file MathFunc.h.

template<class T>
T casa::ExpSincConv< T >::sup_width [private]

Definition at line 534 of file MathFunc.h.

Referenced by casa::ExpSincConv< T >::sup_value().


The documentation for this class was generated from the following file: