28#ifndef SCIMATH_POWERLOGARITHMICPOLYNOMIAL_H
29#define SCIMATH_POWERLOGARITHMICPOLYNOMIAL_H
32#include <casacore/casa/aips.h>
33#include <casacore/scimath/Functionals/PowerLogarithmicPolynomialParam.h>
34#include <casacore/scimath/Functionals/Function1D.h>
35#include <casacore/scimath/Mathematics/AutoDiff.h>
36#include <casacore/scimath/Mathematics/AutoDiffMath.h>
128#define PowerLogarithmicPolynomial_PS PowerLogarithmicPolynomial
159 PowerLogarithmicPolynomial_PS<AutoDiff<T> > &
164 virtual ~PowerLogarithmicPolynomial_PS() {}
184 *cloneNonAD()
const {
196#undef PowerLogarithmicPolynomial_PS
201#ifndef CASACORE_NO_AUTO_TEMPLATES
202#include <casacore/scimath/Functionals/PowerLogarithmicPolynomial.tcc>
203#include <casacore/scimath/Functionals/PowerLogarithmicPolynomial2.tcc>
#define PowerLogarithmicPolynomial_PS
FunctionParam< T > param_p
The parameters and masks.
uInt nparameters() const
Returns the number of parameters.
PowerLogarithmicPolynomialParam< T > & operator=(const PowerLogarithmicPolynomialParam< T > &other)
PowerLogarithmicPolynomial_PS()
Constructs one dimensional Polynomials.
PowerLogarithmicPolynomial_PS(const PowerLogarithmicPolynomial_PS< W > &other)
virtual Function< AutoDiff< T > > * clone() const
Return a copy of this object from the heap.
PowerLogarithmicPolynomial_PS< AutoDiff< T > > & operator=(const PowerLogarithmicPolynomial_PS< AutoDiff< T > > &other)
Copy assignment (deep copy)
PowerLogarithmicPolynomial_PS(uInt n)
PowerLogarithmicPolynomial_PS(const PowerLogarithmicPolynomial_PS< AutoDiff< T > > &other)
Copy constructor (deep copy)
virtual AutoDiff< T > eval(typename Function< AutoDiff< T > >::FunctionArg x) const
Evaluate the function and its derivatives at x wrt to the coefficients.
virtual Function< typename FunctionTraits< AutoDiff< T > >::BaseType > * cloneNonAD() const
virtual Function< typename FunctionTraits< AutoDiff< T > >::DiffType > * cloneAD() const
virtual ~PowerLogarithmicPolynomial_PS()
Destructor.
virtual Function< typename FunctionTraits< T >::BaseType > * cloneNonAD() const
virtual T eval(typename Function1D< T >::FunctionArg x) const
Evaluate the polynomial at x.
virtual Function< typename FunctionTraits< T >::DiffType > * cloneAD() const
PowerLogarithmicPolynomial()
Constructs an empty PowerLogarithmicPolynomial.
virtual Function< T > * clone() const
Return a copy of this object from the heap.
PowerLogarithmicPolynomial< T > & operator=(const PowerLogarithmicPolynomial< T > &other)
PowerLogarithmicPolynomial(uInt n)
Makes a power logaritmic polynomial with the specified number of coefficients, all set to zero.
PowerLogarithmicPolynomial(const PowerLogarithmicPolynomial< W > &other)
PowerLogarithmicPolynomial(const PowerLogarithmicPolynomial< T > &other)
Copy constructor/assignment (deep copy)
virtual ~PowerLogarithmicPolynomial()
Destructor.
PowerLogarithmicPolynomial(const vector< T > &parms)
Make a function with the specified params.
this file contains all the compiler specific defines
PtrHolder< T > & operator=(const PtrHolder< T > &other)