28 #ifndef SCIMATH_SINUSOID1D_H
29 #define SCIMATH_SINUSOID1D_H
32 #include <casacore/casa/aips.h>
33 #include <casacore/scimath/Functionals/Sinusoid1DParam.h>
34 #include <casacore/scimath/Functionals/Function1D.h>
35 #include <casacore/scimath/Mathematics/AutoDiff.h>
36 #include <casacore/scimath/Mathematics/AutoDiffMath.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>
T x0() const
Get or set the x0 of the Sinusoid, the location of a peak.
T amplitude() const
Get or set the amplitude of the Sinusoid.
Sinusoid1DParam< T > & operator=(const Sinusoid1DParam< T > &other)
Copy assignment (deep copy)
T period() const
Get or set the period of the Sinusoid in full cycles.
Sinusoid1D_PS(const AutoDiff< T > &litude)
Sinusoid1D< T > & operator=(const Sinusoid1D< T > &other)
Copy assignment (deep copy)
Sinusoid1D(const T &litude, const T &period)
virtual Function< T > * clone() const
Return a copy of this object from the heap.
virtual ~Sinusoid1D()
Destructor.
Sinusoid1D()
Constructs the Sinusoids, Defaults: amplitude=1, period==1, x0=0.
Sinusoid1D(const T &litude, const T &period, const T &x0)
virtual T eval(typename Function1D< T >::FunctionArg x) const
Evaluate the Sinusoid at x.
Sinusoid1D(const Sinusoid1D &other)
Copy constructor (deep copy)
Sinusoid1D(const T &litude)
virtual Function< typename FunctionTraits< T >::BaseType > * cloneNonAD() const
Sinusoid1D(const Sinusoid1D< W > &other)
virtual Function< typename FunctionTraits< T >::DiffType > * cloneAD() const
this file contains all the compiler specific defines
PtrHolder< T > & operator=(const PtrHolder< T > &other)
TableExprNode amplitude(const TableExprNode &node)
The amplitude (i.e.