casa
$Rev:20696$
|
Partial specialization of Polynomial for AutoDiff
More...
#include <Polynomial.h>
Public Member Functions | |
Polynomial_PS () | |
Constructs one dimensional Polynomials. | |
Polynomial_PS (uInt order) | |
Polynomial_PS (const Polynomial_PS< AutoDiff< T > > &other) | |
Copy constructor (deep copy) | |
template<class W > | |
Polynomial_PS (const Polynomial_PS< W > &other) | |
Polynomial_PS< AutoDiff< T > > & | operator= (const Polynomial_PS< AutoDiff< T > > &other) |
Copy assignment (deep copy) | |
virtual | ~Polynomial_PS () |
Destructor. | |
virtual AutoDiff< T > | eval (typename Function< AutoDiff< T > >::FunctionArg x) const |
Evaluate the polynomial and its derivatives at x wrt to the coefficients. | |
virtual Function< AutoDiff< T > > * | clone () const |
Return a copy of this object from the heap. | |
virtual Function< typename FunctionTraits< AutoDiff< T > >::DiffType > * | cloneAD () const |
virtual Function< typename FunctionTraits< AutoDiff< T > >::BaseType > * | cloneNonAD () const |
Partial specialization of Polynomial for AutoDiff
Warning: The name Polynomial_PS
is only for cxx2html documentation problems; Use Polynomial
in your code;
Definition at line 149 of file Polynomial.h.
casa::Polynomial_PS< AutoDiff< T > >::Polynomial_PS | ( | ) | [inline] |
Constructs one dimensional Polynomials.
Definition at line 155 of file Polynomial.h.
casa::Polynomial_PS< AutoDiff< T > >::Polynomial_PS | ( | uInt | order | ) | [inline, explicit] |
Definition at line 156 of file Polynomial.h.
casa::Polynomial_PS< AutoDiff< T > >::Polynomial_PS | ( | const Polynomial_PS< AutoDiff< T > > & | other | ) | [inline] |
Copy constructor (deep copy)
Definition at line 162 of file Polynomial.h.
casa::Polynomial_PS< AutoDiff< T > >::Polynomial_PS | ( | const Polynomial_PS< W > & | other | ) | [inline] |
Definition at line 165 of file Polynomial.h.
virtual casa::Polynomial_PS< AutoDiff< T > >::~Polynomial_PS | ( | ) | [inline, virtual] |
Destructor.
Definition at line 175 of file Polynomial.h.
virtual Function<AutoDiff<T> >* casa::Polynomial_PS< AutoDiff< T > >::clone | ( | ) | const [inline, virtual] |
Return a copy of this object from the heap.
The caller is responsible for deleting this pointer.
Implements casa::Function< T, U >.
Definition at line 188 of file Polynomial.h.
virtual Function<typename FunctionTraits<AutoDiff<T> >::DiffType>* casa::Polynomial_PS< AutoDiff< T > >::cloneAD | ( | ) | const [inline, virtual] |
Reimplemented from casa::Function< T, U >.
Definition at line 191 of file Polynomial.h.
virtual Function<typename FunctionTraits<AutoDiff<T> >::BaseType>* casa::Polynomial_PS< AutoDiff< T > >::cloneNonAD | ( | ) | const [inline, virtual] |
Reimplemented from casa::Function< T, U >.
Definition at line 195 of file Polynomial.h.
virtual AutoDiff<T> casa::Polynomial_PS< AutoDiff< T > >::eval | ( | typename Function< AutoDiff< T > >::FunctionArg | x | ) | const [virtual] |
Evaluate the polynomial and its derivatives at x
wrt to the coefficients.
Polynomial_PS<AutoDiff<T> >& casa::Polynomial_PS< AutoDiff< T > >::operator= | ( | const Polynomial_PS< AutoDiff< T > > & | other | ) | [inline] |
Copy assignment (deep copy)
Definition at line 171 of file Polynomial.h.