casa
$Rev:20696$
|
Exponential times a Sinc. More...
#include <MathFunc.h>
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 | |
T | sup_value () const |
get access to the support width | |
T | 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 | |
T | sup_width |
T | scale |
T | exponent |
T | sincpByPi |
Exponential times a Sinc.
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.
casa::ExpSincConv< T >::ExpSincConv | ( | T | cut = MathFunc< T >::defcutoff() , |
T | sincparm = MathFunc< T >::defSincparm() , |
||
T | exppow = MathFunc< T >::defExpPower() , |
||
T | expscale = MathFunc< T >::defExpScale() |
||
) |
default constructor
casa::ExpSincConv< T >::ExpSincConv | ( | const ExpSincConv< T > & | ) |
copy constructor
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 >.
FuncId casa::ExpSincConv< T >::id | ( | ) | const [virtual] |
return FuncID structure for Table storage/retrieval.
Reimplemented from casa::MathFunc< T >.
ExpSincConv<T>& casa::ExpSincConv< T >::operator= | ( | const ExpSincConv< T > & | ) |
assignment operator
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.
T casa::ExpSincConv< T >::value | ( | const T & | ) | const [virtual] |
and get the value of the function
Reimplemented from casa::MathFunc< T >.
T casa::ExpSincConv< T >::exponent [private] |
Definition at line 534 of file MathFunc.h.
T casa::ExpSincConv< T >::scale [private] |
Definition at line 534 of file MathFunc.h.
T casa::ExpSincConv< T >::sincpByPi [private] |
Definition at line 534 of file MathFunc.h.
T casa::ExpSincConv< T >::sup_width [private] |
Definition at line 534 of file MathFunc.h.
Referenced by casa::ExpSincConv< T >::sup_value().