28 #ifndef SCIMATH_SINUSOID1D_H
29 #define SCIMATH_SINUSOID1D_H
177 #define Sinusoid1D_PS Sinusoid1D
213 Sinusoid1D_PS<AutoDiff<T> > &
238 *cloneNonAD()
const {
256 #ifndef CASACORE_NO_AUTO_TEMPLATES
257 #include <casacore/scimath/Functionals/Sinusoid1D.tcc>
258 #include <casacore/scimath/Functionals/Sinusoid1D2.tcc>
259 #endif //# CASACORE_NO_AUTO_TEMPLATES
virtual T eval(typename Function1D< T >::FunctionArg x) const
Evaluate the Sinusoid at x.
Sinusoid1DParam< T > & operator=(const Sinusoid1DParam< T > &other)
Copy assignment (deep copy)
virtual Function< typename FunctionTraits< T >::BaseType > * cloneNonAD() const
Sinusoid1D(const T &litude)
Sinusoid1D()
Constructs the Sinusoids, Defaults: amplitude=1, period==1, x0=0.
PtrHolder< T > & operator=(const PtrHolder< T > &other)
Sinusoid1D(const Sinusoid1D &other)
Copy constructor (deep copy)
Sinusoid1D_PS(const AutoDiff< T > &litude)
Sinusoid1D(const T &litude, const T &period)
virtual Function< T > * clone() const
Return a copy of this object from the heap.
Class that computes partial derivatives by automatic differentiation.
Sinusoid1D(const Sinusoid1D< W > &other)
T amplitude() const
Get or set the amplitude of the Sinusoid.
Sinusoid1D< T > & operator=(const Sinusoid1D< T > &other)
Copy assignment (deep copy)
Sinusoid1D(const T &litude, const T &period, const T &x0)
Numerical functional interface class for 1 dimension.
T x0() const
Get or set the x0 of the Sinusoid, the location of a peak.
virtual ~Sinusoid1D()
Destructor.
T period() const
Get or set the period of the Sinusoid in full cycles.
Parameter handling for one dimensional Sinusoid class.
virtual Function< typename FunctionTraits< T >::DiffType > * cloneAD() const
A one dimensional Sinusoid class.
TableExprNode amplitude(const TableExprNode &node)
The amplitude (i.e.