28 #ifndef SCIMATH_MATHFUNC_H
29 #define SCIMATH_MATHFUNC_H
78 float sphfn(
Int ialf,
Int im,
float eta);
160 MathFunc(FUNCTYPE, T cutoff, T arg1 = 1.0
e+30, T arg2 = 1.0
e+30,
186 virtual T
value(
const T &a)
const;
283 T
value(
const T &)
const;
323 T
value(
const T &)
const;
362 T
value(
const T &)
const;
401 T
value(
const T &)
const;
437 T
value(
const T &)
const;
475 float value(
const float &)
const;
525 T
value(
const T &)
const;
541 #ifndef CASACORE_NO_AUTO_TEMPLATES
542 #include <casacore/scimath/Mathematics/MathFunc.tcc>
543 #endif //# CASACORE_NO_AUTO_TEMPLATES
544 #endif //AIPS_MATHFUNC_H
virtual ~MathFunc()
Destructor.
virtual ~MathFuncError() noexcept
Exponential times a Sinc.
static T defwidth()
The default width for Gaussian_Conv.
static T defKBparm()
A default parameter for KB_Conv and Mod_KB_Conv.
float value(const float &) const
GaussianConv(T cut=MathFunc< T >::defcutoff(), T wparm=MathFunc< T >::defwidth())
default constructor
T sup_value() const
return value of support width
virtual MathFunc< T > * clone() const
for every derived class, return new of that class with its own parameters
static T defExpScale()
The default exponential scale length for Exp_Sinc_Conv.
Sph_Conv(T cut=MathFunc< T >::defSphcutoff(), T Sphparm=MathFunc< T >::defSphparm())
default constructor
FuncId id() const
return a FuncId structure for Table storage/retrieval.
FuncId id() const
return a FuncId structure for Table storage/retrieval.
T value(const T &) const
compute and return a value of the math function
T value(const T &) const
compute and return a value of the math function
MathFunc< T > * clone() const
for every derived class, return new of that class with its own parameters
T value(const T &) const
compute and return a value of the math function
T sup_value() const
return value of support width
virtual T sup_value() const
return value of support width
T sup_value() const
get access to the support width
MathFunc< T > * clone() const
for every derived class, return new of that class with its own parameters
static T defSphparm()
The default parameter for Sph_Conv.
MathFuncError(const Char *m)
Sinc_Conv(T cut=MathFunc< T >::defSphcutoff(), T sincparm=MathFunc< T >::defSincparm())
default constructor
GaussianConv< T > & operator=(const GaussianConv< T > &)
KB_Conv< T > & operator=(const KB_Conv< T > &)
Sinc_Conv< T > & operator=(const Sinc_Conv< T > &)
T sup_value() const
return value of support width
FuncId id() const
return a FuncId structure for Table storage/retrieval.
MathFunc< T > * clone() const
for every derived class, return new of that class with its own parameters
T sup_value() const
return value of support width
MathFunc< T > * clone() const
for every derived class, return new of that class with its own parameters
static T defExpPower()
The default exponential power for Exp_Sinc_Conv.
Unary(T cut=MathFunc< T >::defcutoff())
default constructor
KB_Conv(T cut=MathFunc< T >::defcutoff(), T wparm=MathFunc< T >::defKBwidth(), T kbparm=MathFunc< T >::defKBparm())
default constructor
ExpSincConv(T cut=MathFunc< T >::defcutoff(), T sincparm=MathFunc< T >::defSincparm(), T exppow=MathFunc< T >::defExpPower(), T expscale=MathFunc< T >::defExpScale())
default constructor
A Kaiser-Bessel function.
static T defSincparm()
The default Sinc parameter for Sinc_Conv and Exp_Sinc_Conv.
virtual T value(const T &a) const
compute and return a value of the math function
FuncId id() const
return a FuncId structure for Table storage/retrieval.
Mod_KB_Conv(T cut=MathFunc< T >::defcutoff(), T wparm=MathFunc< T >::defKBwidth(), T kbparm=MathFunc< T >::defKBparm(), T gwparm=MathFunc< T >::defmodKBparm())
default constructor
FuncId id() const
return a FuncId structure for Table storage/retrieval.
Function ID, for use by MathFunc class.
static T defcutoff()
These functions return the static constants used as default parameters for the various derived functi...
static T defSphcutoff()
The default support radius for Sinc_Conv and Sph_Conv.
virtual FuncId id() const
return a FuncId structure for Table storage/retrieval.
MathFunc< T > * clone() const
for every derived class, return new of that class with its own parameters
T value(const T &) const
compute and return a value of the math function
Unary< T > & operator=(const Unary< T > &)
MathFunc< T > & operator=(const MathFunc< T > &)
Assignment operator - Note: this function works only for envelops.
MathFunc< T > * clone() const
for every derived class, return new of that class with its own parameters
Mod_KB_Conv< T > & operator=(const Mod_KB_Conv< T > &)
MathFunc()
Default constructor (Null)
static MathFunc< T > * newMathFunc(const MathFunc< T > &)
create a new math function
MathFuncError(const String &m)
Base class for all Casacore library errors.
const Double e
e and functions thereof:
MathFunc< T > * clone() const
for every derived class, return new of that class with its own parameters
String: the storage and methods of handling collections of characters.
T value(const T &) const
and get the value of the function
FuncId id() const
return a FuncId structure for Table storage/retrieval.
Sph_Conv< T > & operator=(const Sph_Conv< T > &)
T sup_value() const
return value of support width
A class to generate values of mathematical functions.
A Kaiser-Bessel function multiplied by a Gaussian.
T sup_value() const
return value of support width
FuncId id() const
return FuncID structure for Table storage/retrieval.
Error class for MathFunc class.
ExpSincConv< T > & operator=(const ExpSincConv< T > &)
assignment operator
MathFunc< T > * object
pointer to letter class
static T defmodKBparm()
A default parameter for Mod_KB_Conv.
static T defKBwidth()
The default width for KB_Conv and Mod_KB_Conv.
T value(const T &) const
compute and return a value of the math function
#define casacore
<X11/Intrinsic.h> #defines true, false, casacore::Bool, and String.