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