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

Partial specialization of ConstantND for AutoDiff More...

#include <ConstantND.h>

Inheritance diagram for casa::ConstantND_PS< AutoDiff< T > >:
casa::ConstantNDParam< AutoDiff< T > > casa::Function< AutoDiff< T > > casa::Functional< FunctionTraits< AutoDiff< T > >::ArgType, AutoDiff< T > > casa::Functional< Vector< FunctionTraits< AutoDiff< T > >::ArgType >, AutoDiff< T > >

List of all members.

Public Member Functions

 ConstantND_PS (const uInt m=0)
 Constructors a constant in a space of dimensionality m.
 ConstantND_PS (const ConstantND_PS< AutoDiff< T > > &other)
 Copy constructor/assignment (deep copy)
template<class W >
 ConstantND_PS (const ConstantND_PS< W > &other)
ConstantND_PS< AutoDiff< T > > & operator= (const ConstantND_PS< AutoDiff< T > > &other)
virtual ~ConstantND ()
 Destructor.
virtual AutoDiff< T > eval (typename Function< AutoDiff< T > >::FunctionArg x) const
 Evaluate the constant function at (x0,x1,..,xm-1).
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::ConstantND_PS< AutoDiff< T > >

Partial specialization of ConstantND for AutoDiff

Synopsis


Warning: The name HyperPlane_PS is only for cxx2html documentation problems; Use HyperPlane in your code;

Definition at line 159 of file ConstantND.h.


Constructor & Destructor Documentation

template<class T >
casa::ConstantND_PS< AutoDiff< T > >::ConstantND_PS ( const uInt  m = 0) [inline, explicit]

Constructors a constant in a space of dimensionality m.

By default, the coefficients are initialized to zero, and m=0

Definition at line 166 of file ConstantND.h.

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

Copy constructor/assignment (deep copy)

Definition at line 170 of file ConstantND.h.

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

Definition at line 173 of file ConstantND.h.

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

Destructor.

Definition at line 181 of file ConstantND.h.


Member Function Documentation

template<class T >
virtual Function<AutoDiff<T> >* casa::ConstantND_PS< AutoDiff< T > >::clone ( ) const [inline, virtual]

Return a copy of this object from the heap.

The caller is responsible for deleting the pointer.

Implements casa::Function< AutoDiff< T > >.

Definition at line 192 of file ConstantND.h.

template<class T >
virtual Function<typename FunctionTraits<AutoDiff<T> >::DiffType>* casa::ConstantND_PS< AutoDiff< T > >::cloneAD ( ) const [inline, virtual]

Reimplemented from casa::Function< AutoDiff< T > >.

Definition at line 195 of file ConstantND.h.

template<class T >
virtual Function<typename FunctionTraits<AutoDiff<T> >::BaseType>* casa::ConstantND_PS< AutoDiff< T > >::cloneNonAD ( ) const [inline, virtual]

Reimplemented from casa::Function< AutoDiff< T > >.

Definition at line 199 of file ConstantND.h.

template<class T >
virtual AutoDiff<T> casa::ConstantND_PS< AutoDiff< T > >::eval ( typename Function< AutoDiff< T > >::FunctionArg  x) const [virtual]

Evaluate the constant function at (x0,x1,..,xm-1).

template<class T >
ConstantND_PS<AutoDiff<T> >& casa::ConstantND_PS< AutoDiff< T > >::operator= ( const ConstantND_PS< AutoDiff< T > > &  other) [inline]

Definition at line 176 of file ConstantND.h.


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