26#ifndef SCIMATH_POWERLOGARITHMICPOLYNOMIAL_H
27#define SCIMATH_POWERLOGARITHMICPOLYNOMIAL_H
30#include <casacore/casa/aips.h>
31#include <casacore/scimath/Functionals/PowerLogarithmicPolynomialParam.h>
32#include <casacore/scimath/Functionals/Function1D.h>
33#include <casacore/scimath/Mathematics/AutoDiff.h>
34#include <casacore/scimath/Mathematics/AutoDiffMath.h>
126#define PowerLogarithmicPolynomial_PS PowerLogarithmicPolynomial
157 PowerLogarithmicPolynomial_PS<AutoDiff<T> > &
162 virtual ~PowerLogarithmicPolynomial_PS() {}
182 *cloneNonAD()
const {
194#undef PowerLogarithmicPolynomial_PS
199#ifndef CASACORE_NO_AUTO_TEMPLATES
200#include <casacore/scimath/Functionals/PowerLogarithmicPolynomial.tcc>
201#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)