Go to the documentation of this file.
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> > &
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>
204 #endif //# CASACORE_NO_AUTO_TEMPLATES
Class that computes partial derivatives by automatic differentiation.
PowerLogarithmicPolynomial()
Constructs an empty PowerLogarithmicPolynomial.
PtrHolder< T > & operator=(const PtrHolder< T > &other)
#define PowerLogarithmicPolynomial_PS
PowerLogarithmicPolynomial(const PowerLogarithmicPolynomial< T > &other)
Copy constructor/assignment (deep copy)
virtual T eval(typename Function1D< T >::FunctionArg x) const
Evaluate the polynomial at x.
virtual Function< typename FunctionTraits< T >::DiffType > * cloneAD() const
PowerLogarithmicPolynomial_PS(const PowerLogarithmicPolynomial_PS< AutoDiff< T > > &other)
Copy constructor (deep copy)
Parameter handling for one-dimensional power logarithmic polynomials.
PowerLogarithmicPolynomialParam< T > & operator=(const PowerLogarithmicPolynomialParam< T > &other)
virtual ~PowerLogarithmicPolynomial_PS()
Destructor.
virtual Function< typename FunctionTraits< AutoDiff< T > >::BaseType > * cloneNonAD() const
PowerLogarithmicPolynomial_PS(uInt n)
PowerLogarithmicPolynomial_PS< AutoDiff< T > > & operator=(const PowerLogarithmicPolynomial_PS< AutoDiff< T > > &other)
Copy assignment (deep copy)
PowerLogarithmicPolynomial(uInt n)
Makes a power logaritmic polynomial with the specified number of coefficients, all set to zero.
virtual Function< typename FunctionTraits< AutoDiff< T > >::DiffType > * cloneAD() const
virtual ~PowerLogarithmicPolynomial()
Destructor.
virtual Function< typename FunctionTraits< T >::BaseType > * cloneNonAD() const
this file contains all the compiler specific defines
PowerLogarithmicPolynomial(const vector< T > &parms)
Make a function with the specified params.
Numerical functional interface class for 1 dimension.
PowerLogarithmicPolynomial_PS(const PowerLogarithmicPolynomial_PS< W > &other)
A one dimensional power logarithmic polynomial class of form y = c_0 * x**(c_1 + c_2*ln(x) + c_3*ln(x...
PowerLogarithmicPolynomial(const PowerLogarithmicPolynomial< W > &other)
PowerLogarithmicPolynomial< T > & operator=(const PowerLogarithmicPolynomial< T > &other)
virtual Function< AutoDiff< T > > * clone() const
Return a copy of this object from the heap.
virtual Function< T > * clone() const
Return a copy of this object from the heap.
PowerLogarithmicPolynomial_PS()
Constructs one dimensional Polynomials.