26#ifndef SCIMATH_UNARYFUNCTION_H
27#define SCIMATH_UNARYFUNCTION_H
30#include <casacore/casa/aips.h>
31#include <casacore/scimath/Functionals/UnaryParam.h>
32#include <casacore/scimath/Functionals/Function.h>
146#ifndef CASACORE_NO_AUTO_TEMPLATES
147#include <casacore/scimath/Functionals/UnaryFunction.tcc>
FunctionParam< T > param_p
The parameters and masks.
uInt nparameters() const
Returns the number of parameters.
virtual T eval(typename Function< T >::FunctionArg x) const
Evaluate the Unary at x.
UnaryFunction()
Constructs the UnaryFunction, Defaults: height=1, center=0, width=1.
UnaryFunction(const UnaryFunction< T > &other)
Copy constructor (deep copy)
UnaryFunction(const T &height, const T ¢er, const T &width)
virtual Function< typename FunctionTraits< T >::DiffType > * cloneAD() const
UnaryFunction(const T &height, const T ¢er)
virtual ~UnaryFunction()
Destructor.
virtual Function< T > * clone() const
Return a copy of this object from the heap.
virtual Function< typename FunctionTraits< T >::BaseType > * cloneNonAD() const
UnaryFunction< T > & operator=(const UnaryFunction< T > &other)
Copy assignment (deep copy)
UnaryFunction(const UnaryFunction< W > &other)
UnaryFunction(const T &height)
UnaryParam< T > & operator=(const UnaryParam< T > &other)
Copy assignment (deep copy)
this file contains all the compiler specific defines