casa
$Rev:20696$
|
A one dimensional Kaiser-Bessel function. More...
#include <KaiserBParam.h>
Public Types | |
enum | { HEIGHT, CENTER, WIDTH, KBPAR } |
Parameter numbers. More... | |
Public Member Functions | |
KaiserBParam () | |
Constructs the KaiserB, Defaults: height=1, center=0, width=1, kbpar=2.5. | |
KaiserBParam (const T &kbpar) | |
KaiserBParam (const KaiserBParam< T > &other) | |
Copy constructor (deep copy) | |
KaiserBParam< T > & | operator= (const KaiserBParam< T > &other) |
Copy assignment (deep copy) | |
template<class W > | |
KaiserBParam (const KaiserBParam< W > &other) | |
virtual | ~KaiserBParam () |
Destructor. | |
virtual uInt | ndim () const |
Returns the number of dimensions of function. | |
virtual const String & | name () const |
Give name of function. |
A one dimensional Kaiser-Bessel function.
Internal
A Kaiser-Bessel function
A Kaiser-Bessel
is described by a height, a center, a width (halfwidth) and a parameter. The parameters are enumerated by HEIGHT, CENTER, WIDTH, KBPAR. They have default values of (1, 0, 1, 2.5).
KaiserBFunction<Double> sf;
sf(0); // = 1.0
Definition at line 80 of file KaiserBParam.h.
anonymous enum |
Parameter numbers.
Definition at line 85 of file KaiserBParam.h.
casa::KaiserBParam< T >::KaiserBParam | ( | ) |
Constructs the KaiserB, Defaults: height=1, center=0, width=1, kbpar=2.5.
Warning: Could not use default arguments that worked both with gcc and IRIX
casa::KaiserBParam< T >::KaiserBParam | ( | const T & | kbpar | ) | [explicit] |
casa::KaiserBParam< T >::KaiserBParam | ( | const KaiserBParam< T > & | other | ) |
Copy constructor (deep copy)
casa::KaiserBParam< T >::KaiserBParam | ( | const KaiserBParam< W > & | other | ) | [inline] |
Definition at line 103 of file KaiserBParam.h.
virtual casa::KaiserBParam< T >::~KaiserBParam | ( | ) | [virtual] |
Destructor.
virtual const String& casa::KaiserBParam< T >::name | ( | ) | const [inline, virtual] |
Give name of function.
Reimplemented from casa::Function< T >.
Definition at line 114 of file KaiserBParam.h.
virtual uInt casa::KaiserBParam< T >::ndim | ( | ) | const [inline, virtual] |
Returns the number of dimensions of function.
Implements casa::Function< T >.
Definition at line 110 of file KaiserBParam.h.
KaiserBParam<T>& casa::KaiserBParam< T >::operator= | ( | const KaiserBParam< T > & | other | ) |
Copy assignment (deep copy)