casa
$Rev:20696$
|
A ChebyshevParam with the get/setMode implementation. More...
#include <ChebyshevParam.h>
Public Member Functions | |
ChebyshevParamModeImpl () | |
ChebyshevParamModeImpl (const uInt n) | |
ChebyshevParamModeImpl (const T &min, const T &max, typename ChebyshevEnums::OutOfIntervalMode mode=ChebyshevEnums::CONSTANT, const T &defval=T(0)) | |
ChebyshevParamModeImpl (const Vector< T > &coeffs, const T &min, const T &max, typename ChebyshevEnums::OutOfIntervalMode mode=ChebyshevEnums::CONSTANT, const T &defval=T(0)) | |
ChebyshevParamModeImpl (uInt order, const RecordInterface &mode) | |
ChebyshevParamModeImpl (const Vector< T > &coeffs, const RecordInterface &mode) | |
ChebyshevParamModeImpl (const ChebyshevParamModeImpl &other) | |
virtual void | setMode (const RecordInterface &mode) |
get/set the function mode. | |
virtual void | getMode (RecordInterface &mode) const |
virtual Bool | hasMode () const |
return True if the implementing function supports a mode. |
A ChebyshevParam with the get/setMode implementation.
The get/setMode() implementation is separated from ChebyshevParam to enable simple specialization for AutoDiff. See ChebyshevParam for documentation
Definition at line 364 of file ChebyshevParam.h.
casa::ChebyshevParamModeImpl< T >::ChebyshevParamModeImpl | ( | ) | [inline] |
Definition at line 367 of file ChebyshevParam.h.
casa::ChebyshevParamModeImpl< T >::ChebyshevParamModeImpl | ( | const uInt | n | ) | [inline, explicit] |
Definition at line 369 of file ChebyshevParam.h.
casa::ChebyshevParamModeImpl< T >::ChebyshevParamModeImpl | ( | const T & | min, |
const T & | max, | ||
typename ChebyshevEnums::OutOfIntervalMode | mode = ChebyshevEnums::CONSTANT , |
||
const T & | defval = T(0) |
||
) | [inline] |
Definition at line 371 of file ChebyshevParam.h.
casa::ChebyshevParamModeImpl< T >::ChebyshevParamModeImpl | ( | const Vector< T > & | coeffs, |
const T & | min, | ||
const T & | max, | ||
typename ChebyshevEnums::OutOfIntervalMode | mode = ChebyshevEnums::CONSTANT , |
||
const T & | defval = T(0) |
||
) | [inline] |
Definition at line 376 of file ChebyshevParam.h.
casa::ChebyshevParamModeImpl< T >::ChebyshevParamModeImpl | ( | uInt | order, |
const RecordInterface & | mode | ||
) | [inline] |
Definition at line 382 of file ChebyshevParam.h.
References casa::ChebyshevParamModeImpl< T >::setMode().
casa::ChebyshevParamModeImpl< T >::ChebyshevParamModeImpl | ( | const Vector< T > & | coeffs, |
const RecordInterface & | mode | ||
) | [inline] |
Definition at line 384 of file ChebyshevParam.h.
References casa::ChebyshevParamModeImpl< T >::setMode().
casa::ChebyshevParamModeImpl< T >::ChebyshevParamModeImpl | ( | const ChebyshevParamModeImpl< T > & | other | ) | [inline] |
Definition at line 388 of file ChebyshevParam.h.
virtual void casa::ChebyshevParamModeImpl< T >::getMode | ( | RecordInterface & | mode | ) | const [virtual] |
Reimplemented from casa::Function< T, T >.
virtual Bool casa::ChebyshevParamModeImpl< T >::hasMode | ( | ) | const [virtual] |
return True if the implementing function supports a mode.
This implementation always returns True.
Reimplemented from casa::Function< T, T >.
virtual void casa::ChebyshevParamModeImpl< T >::setMode | ( | const RecordInterface & | mode | ) | [virtual] |
get/set the function mode.
This is an alternate way to get/set the non-coefficient data for this function. The supported record fields are as follows:
Field Name Type Role ------------------------------------------------------------------- min template type the minimum value of the Chebyshev interval of interest max template type the maximum value of the Chebyshev interval of interest intervalMode TpString the out-of-interval mode; recognized values are "constant", "zeroth", "extrapolate", "cyclic", and "edge". setMode() recognizes a case-insensitive, minimum match. default template type the out-of-range value that is returned when the out-of-interval mode is "constant".
An exception is thrown if interval mode is unrecognized.
Reimplemented from casa::Function< T, T >.
Referenced by casa::ChebyshevParamModeImpl< T >::ChebyshevParamModeImpl().