#include <MathFunc.h>
Public Member Functions | |
Unary (T cut=MathFunc< T >::defcutoff()) | |
default constructor | |
Unary (const Unary< T > &) | |
copy constructor | |
Unary< T > & | operator= (const Unary< T > &) |
Assignment operator - Note: this function works only for envelops. | |
T | sup_value () const |
return value of support width | |
T | 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 | |
T | sup_width |
A Unary function (always returns the value 1.0)
Definition at line 266 of file MathFunc.h.
casacore::Unary< T >::Unary | ( | T | cut = MathFunc< T >::defcutoff() |
) |
default constructor
casacore::Unary< T >::Unary | ( | const Unary< T > & | ) |
copy constructor
MathFunc<T>* casacore::Unary< T >::clone | ( | ) | const [private, virtual] |
for every derived class, return new of that class with its own parameters
Reimplemented from casacore::MathFunc< T >.
FuncId casacore::Unary< T >::id | ( | ) | const [virtual] |
return a FuncId structure for Table storage/retrieval.
Reimplemented from casacore::MathFunc< T >.
Unary<T>& casacore::Unary< T >::operator= | ( | const Unary< T > & | ) |
Assignment operator - Note: this function works only for envelops.
Polymorphism flaws will let you pass a letter as an argument but an exception will be thrown at run time.
Reimplemented from casacore::MathFunc< T >.
T casacore::Unary< T >::sup_value | ( | ) | const [inline, virtual] |
return value of support width
Reimplemented from casacore::MathFunc< T >.
Definition at line 281 of file MathFunc.h.
References casacore::Unary< T >::sup_width.
T casacore::Unary< T >::value | ( | const T & | a | ) | const [virtual] |
compute and return a value of the math function
Reimplemented from casacore::MathFunc< T >.
T casacore::Unary< T >::sup_width [private] |
Definition at line 293 of file MathFunc.h.
Referenced by casacore::Unary< T >::sup_value().