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

A one dimensional Kaiser-Bessel function. More...

#include <KaiserBParam.h>

Inheritance diagram for casa::KaiserBParam< T >:
casa::Function< T > casa::Functional< FunctionTraits< T >::ArgType, T > casa::Functional< Vector< FunctionTraits< T >::ArgType >, T > casa::KaiserBFunction< T >

List of all members.

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 Stringname () const
 Give name of function.

Detailed Description

template<class T>
class casa::KaiserBParam< T >

A one dimensional Kaiser-Bessel function.

Intended use:

Internal

Review Status

Test programs:
tFunctionHolder

Prerequisite

Etymology

A Kaiser-Bessel function

Synopsis

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).

Example

       KaiserBFunction<Double> sf;
       sf(0);            // = 1.0

Template Type Argument Requirements (T)

Thrown Exceptions

Definition at line 80 of file KaiserBParam.h.


Member Enumeration Documentation

template<class T>
anonymous enum

Parameter numbers.

Enumerator:
HEIGHT 
CENTER 
WIDTH 
KBPAR 

Definition at line 85 of file KaiserBParam.h.


Constructor & Destructor Documentation

template<class T>
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

template<class T>
casa::KaiserBParam< T >::KaiserBParam ( const T &  kbpar) [explicit]
template<class T>
casa::KaiserBParam< T >::KaiserBParam ( const KaiserBParam< T > &  other)

Copy constructor (deep copy)

template<class T>
template<class W >
casa::KaiserBParam< T >::KaiserBParam ( const KaiserBParam< W > &  other) [inline]

Definition at line 103 of file KaiserBParam.h.

template<class T>
virtual casa::KaiserBParam< T >::~KaiserBParam ( ) [virtual]

Destructor.


Member Function Documentation

template<class T>
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.

template<class T>
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.

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

Copy assignment (deep copy)


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