casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions
casa::Polynomial_PS< AutoDiff< T > > Class Template Reference

Partial specialization of Polynomial for AutoDiff More...

#include <Polynomial.h>

Inheritance diagram for casa::Polynomial_PS< AutoDiff< T > >:
casa::PolynomialParam< AutoDiff< T > > casa::Function1D< AutoDiff< T > > casa::Function< T, U > casa::Functional< FunctionTraits< T >::ArgType, U > casa::Functional< Vector< FunctionTraits< T >::ArgType >, U >

List of all members.

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

Detailed Description

template<class T>
class casa::Polynomial_PS< AutoDiff< T > >

Partial specialization of Polynomial for AutoDiff

Synopsis


Warning: The name Polynomial_PS is only for cxx2html documentation problems; Use Polynomial in your code;

Definition at line 149 of file Polynomial.h.


Constructor & Destructor Documentation

template<class T >
casa::Polynomial_PS< AutoDiff< T > >::Polynomial_PS ( ) [inline]

Constructs one dimensional Polynomials.

Definition at line 155 of file Polynomial.h.

template<class T >
casa::Polynomial_PS< AutoDiff< T > >::Polynomial_PS ( uInt  order) [inline, explicit]

Definition at line 156 of file Polynomial.h.

template<class T >
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.

template<class T >
template<class W >
casa::Polynomial_PS< AutoDiff< T > >::Polynomial_PS ( const Polynomial_PS< W > &  other) [inline]

Definition at line 165 of file Polynomial.h.

template<class T >
virtual casa::Polynomial_PS< AutoDiff< T > >::~Polynomial_PS ( ) [inline, virtual]

Destructor.

Definition at line 175 of file Polynomial.h.


Member Function Documentation

template<class T >
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.

template<class T >
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.

template<class T >
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.

template<class T >
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.

template<class T >
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.


The documentation for this class was generated from the following file: