26#ifndef SCIMATH_ODDPOLYNOMIAL_H 
   27#define SCIMATH_ODDPOLYNOMIAL_H 
   30#include <casacore/casa/aips.h> 
   31#include <casacore/scimath/Functionals/OddPolynomialParam.h> 
   32#include <casacore/scimath/Functionals/Function1D.h> 
   33#include <casacore/scimath/Mathematics/AutoDiff.h> 
   34#include <casacore/scimath/Mathematics/AutoDiffMath.h> 
  129#define OddPolynomial_PS OddPolynomial 
  160  OddPolynomial_PS<AutoDiff<T> > &
 
 
  165  virtual ~OddPolynomial_PS() {}
 
  185    *cloneNonAD()
 const {
 
 
 
  197#undef OddPolynomial_PS 
  202#ifndef CASACORE_NO_AUTO_TEMPLATES 
  203#include <casacore/scimath/Functionals/OddPolynomial.tcc> 
  204#include <casacore/scimath/Functionals/OddPolynomial2.tcc> 
FunctionParam< T > param_p
The parameters and masks.
 
uInt nparameters() const
Returns the number of parameters.
 
uInt order() const
What is the order of the polynomial, i.e.
 
OddPolynomialParam< T > & operator=(const OddPolynomialParam< T > &other)
 
virtual Function< AutoDiff< T > > * clone() const
Return a copy of this object from the heap.
 
OddPolynomial_PS()
Constructs one dimensional OddPolynomials.
 
OddPolynomial_PS(const OddPolynomial_PS< W > &other)
 
OddPolynomial_PS(const OddPolynomial_PS< AutoDiff< T > > &other)
Copy constructor (deep copy)
 
virtual ~OddPolynomial_PS()
Destructor.
 
virtual Function< typename FunctionTraits< AutoDiff< T > >::BaseType > * cloneNonAD() const
 
virtual Function< typename FunctionTraits< AutoDiff< T > >::DiffType > * cloneAD() const
 
OddPolynomial_PS< AutoDiff< T > > & operator=(const OddPolynomial_PS< AutoDiff< T > > &other)
Copy assignment (deep copy)
 
OddPolynomial_PS(uInt order)
 
virtual AutoDiff< T > eval(typename Function< AutoDiff< T > >::FunctionArg x) const
Evaluate the polynomial and its derivatives at x wrt to the coefficients.
 
virtual T eval(typename Function1D< T >::FunctionArg x) const
Evaluate the polynomial at x.
 
OddPolynomial(uInt order)
Makes a polynomial of the given order, with all coeficcients set to zero.
 
OddPolynomial(const OddPolynomial< T > &other)
Copy constructor/assignment (deep copy)
 
virtual ~OddPolynomial()
Destructor.
 
OddPolynomial< T > & operator=(const OddPolynomial< T > &other)
 
virtual Function< T > * clone() const
Return a copy of this object from the heap.
 
OddPolynomial(const OddPolynomial< W > &other)
 
virtual Function< typename FunctionTraits< T >::BaseType > * cloneNonAD() const
 
virtual Function< typename FunctionTraits< T >::DiffType > * cloneAD() const
 
OddPolynomial()
Constructs a first order polynomial, with a coeficcient of 0.0.
 
this file contains all the compiler specific defines
 
PtrHolder< T > & operator=(const PtrHolder< T > &other)