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

Unary. More...

#include <MathFunc.h>

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

List of all members.

Public Member Functions

 Unary (T cut=MathFunc< T >::defcutoff())
 default constructor
 Unary (const Unary< T > &)
 copy constructor
Unary< T > & operator= (const Unary< T > &)
sup_value () const
 return value of support width
value (const T &) const
 compute and return a value of the math function
FuncId id () const
 return a 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

sup_width

Detailed Description

template<class T>
class casa::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>
casa::Unary< T >::Unary ( cut = MathFunc< T >::defcutoff())

default constructor

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

copy constructor


Member Function Documentation

template<class T>
MathFunc<T>* casa::Unary< T >::clone ( ) const [private, virtual]

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

Reimplemented from casa::MathFunc< T >.

template<class T>
FuncId casa::Unary< T >::id ( ) const [virtual]

return a FuncId structure for Table storage/retrieval.

Reimplemented from casa::MathFunc< T >.

template<class T>
Unary<T>& casa::Unary< T >::operator= ( const Unary< T > &  )
template<class T>
T casa::Unary< T >::sup_value ( ) const [inline, virtual]

return value of support width

Reimplemented from casa::MathFunc< T >.

Definition at line 281 of file MathFunc.h.

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

template<class T>
T casa::Unary< T >::value ( const T &  a) const [virtual]

compute and return a value of the math function

Reimplemented from casa::MathFunc< T >.


Member Data Documentation

template<class T>
T casa::Unary< T >::sup_width [private]

Definition at line 293 of file MathFunc.h.

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


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