Документ взят из кэша поисковой машины. Адрес
оригинального документа
: http://www.atnf.csiro.au/computing/software/casacore/casacore-1.2.0/doc/html/classcasa_1_1SincParam.html
Дата изменения: Unknown Дата индексирования: Mon Feb 14 21:24:06 2011 Кодировка: Поисковые слова: http news.cosmoport.com 2005 04 18 1.htm |
A one dimensional sin(x)/x. More...
#include <SincParam.h>
Public Types | |
enum | { HEIGHT, CENTER, WIDTH } |
Parameter numbers. More... | |
Public Member Functions | |
SincParam () | |
Constructs the Sinc, Defaults: height=1, center=0, width=1. | |
SincParam (const T &height) | |
SincParam (const T &height, const T ¢er) | |
SincParam (const T &height, const T ¢er, const T &width) | |
SincParam (const SincParam< T > &other) | |
Copy constructor (deep copy). | |
template<class W > | |
SincParam (const SincParam< W > &other) | |
SincParam< T > & | operator= (const SincParam< T > &other) |
Copy assignment (deep copy). | |
virtual | ~SincParam () |
Destructor. | |
virtual uInt | ndim () const |
Returns the number of dimensions of function. | |
virtual const String & | name () const |
Give name of function. |
A one dimensional sin(x)/x.
Internal
A 1-dimensional sinc function.
A Sinc
is described by a height, a center and a width (halfwidth). The value is:
The parameters are enumerated by HEIGHT, CENTER and WIDTH. They have default values of (1, 0, 1).
SincFunction<Double> sf(5.0, 25.0, 7);
sf(25); // = 5.0
Definition at line 85 of file SincParam.h.
anonymous enum |
casa::SincParam< T >::SincParam | ( | ) |
Constructs the Sinc, Defaults: height=1, center=0, width=1.
Warning: Could not use default arguments that worked both with gcc and IRIX
casa::SincParam< T >::SincParam | ( | const T & | height | ) | [explicit] |
casa::SincParam< T >::SincParam | ( | const T & | height, | |
const T & | center | |||
) |
casa::SincParam< T >::SincParam | ( | const T & | height, | |
const T & | center, | |||
const T & | width | |||
) |
casa::SincParam< T >::SincParam | ( | const SincParam< T > & | other | ) |
Copy constructor (deep copy).
casa::SincParam< T >::SincParam | ( | const SincParam< W > & | other | ) | [inline] |
Definition at line 108 of file SincParam.h.
virtual casa::SincParam< T >::~SincParam | ( | ) | [virtual] |
Destructor.
virtual const String& casa::SincParam< T >::name | ( | ) | const [inline, virtual] |
Give name of function.
Reimplemented from casa::Function< T >.
Definition at line 123 of file SincParam.h.
virtual uInt casa::SincParam< T >::ndim | ( | ) | const [inline, virtual] |
Returns the number of dimensions of function.
Implements casa::Function< T >.
Definition at line 119 of file SincParam.h.
SincParam<T>& casa::SincParam< T >::operator= | ( | const SincParam< T > & | other | ) |
Copy assignment (deep copy).