casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Member Functions | Private Attributes | List of all members
casacore::Unary< T > Class Template Reference

Unary. More...

#include <MathFunc.h>

Inheritance diagram for casacore::Unary< T >:
casacore::MathFunc< T >

Public Member Functions

 Unary (T cut=MathFunc< T >::defcutoff())
 default constructor More...
 
 Unary (const Unary< T > &)
 copy constructor More...
 
Unary< T > & operator= (const Unary< T > &)
 
sup_value () const
 return value of support width More...
 
value (const T &) const
 compute and return a value of the math function More...
 
FuncId id () const
 return a FuncId structure for Table storage/retrieval. More...
 
- Public Member Functions inherited from casacore::MathFunc< T >
 MathFunc (FUNCTYPE)
 constructors More...
 
 MathFunc (FUNCTYPE, T cutoff, T arg1=1.0e+30, T arg2=1.0e+30, T arg3=1.0e+30)
 accept up to 4 arguments, the first being the support radius More...
 
 MathFunc (String &, Vector< double > &)
 
 MathFunc (const MathFunc< T > &)
 
 MathFunc (MathFunc< T > *)
 
virtual ~MathFunc ()
 Destructor. More...
 
MathFunc< T > & operator= (const MathFunc< T > &)
 Assignment operator - Note: this function works only for envelops. More...
 

Private Member Functions

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

Private Attributes

sup_width
 

Additional Inherited Members

- Static Public Member Functions inherited from casacore::MathFunc< T >
static MathFunc< T > * newMathFunc (const MathFunc< T > &)
 create a new math function More...
 
static T defcutoff ()
 These functions return the static constants used as default parameters for the various derived functions. More...
 
static T defwidth ()
 The default width for Gaussian_Conv. More...
 
static T defKBwidth ()
 The default width for KB_Conv and Mod_KB_Conv. More...
 
static T defKBparm ()
 A default parameter for KB_Conv and Mod_KB_Conv. More...
 
static T defmodKBparm ()
 A default parameter for Mod_KB_Conv. More...
 
static T defSphcutoff ()
 The default support radius for Sinc_Conv and Sph_Conv. More...
 
static T defSincparm ()
 The default Sinc parameter for Sinc_Conv and Exp_Sinc_Conv. More...
 
static T defSphparm ()
 The default parameter for Sph_Conv. More...
 
static T defExpPower ()
 The default exponential power for Exp_Sinc_Conv. More...
 
static T defExpScale ()
 The default exponential scale length for Exp_Sinc_Conv. More...
 
- Protected Member Functions inherited from casacore::MathFunc< T >
 MathFunc ()
 Default constructor (Null) More...
 
- Protected Attributes inherited from casacore::MathFunc< T >
MathFunc< T > * object
 pointer to letter class More...
 

Detailed Description

template<class T>
class casacore::Unary< T >

Unary.

Synopsis

A Unary function (always returns the value 1.0)

Definition at line 266 of file MathFunc.h.

Constructor & Destructor Documentation

template<class T>
casacore::Unary< T >::Unary ( cut = MathFunc< T >::defcutoff())

default constructor

template<class T>
casacore::Unary< T >::Unary ( const Unary< T > &  )

copy constructor

Member Function Documentation

template<class T>
MathFunc<T>* casacore::Unary< T >::clone ( ) const
privatevirtual

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

Reimplemented from casacore::MathFunc< T >.

template<class T>
FuncId casacore::Unary< T >::id ( ) const
virtual

return a FuncId structure for Table storage/retrieval.

Reimplemented from casacore::MathFunc< T >.

template<class T>
Unary<T>& casacore::Unary< T >::operator= ( const Unary< T > &  )
template<class T>
T casacore::Unary< T >::sup_value ( ) const
inlinevirtual

return value of support width

Reimplemented from casacore::MathFunc< T >.

Definition at line 281 of file MathFunc.h.

References casacore::Unary< T >::sup_width.

template<class T>
T casacore::Unary< T >::value ( const T &  a) const
virtual

compute and return a value of the math function

Reimplemented from casacore::MathFunc< T >.

Member Data Documentation

template<class T>
T casacore::Unary< T >::sup_width
private

Definition at line 293 of file MathFunc.h.

Referenced by casacore::Unary< T >::sup_value().


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