casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Types | Public Member Functions
casa::Function1D< T, U > Class Template Reference

Numerical functional interface class for 1 dimension. More...

#include <Function1D.h>

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

List of all members.

Public Types

typedef const T * FunctionArg

Public Member Functions

 Function1D ()
 Constructors.
 Function1D (const uInt n)
 Function1D (const Vector< T > &in)
 Function1D (const FunctionParam< T > &other)
 Function1D (const Function1D< T, U > &other)
template<class W , class X >
 Function1D (const Function1D< W, X > &other)
virtual ~Function1D ()
 Destructor.
virtual uInt ndim () const
 Returns the number of dimensions of function.

Detailed Description

template<class T, class U = T>
class casa::Function1D< T, U >

Numerical functional interface class for 1 dimension.

Intended use:

Public interface

Review Status

Reviewed By:
tcornwel
Date Reviewed:
1996/02/22
Test programs:
tGaussian1D

Prerequisite

Synopsis

A Function1D is used for classes which map a scalar or n-dimensional Vector of type T into a T. The object also has one parameter which can be masked if necessary, and be used in the Fitting module, and, implicitly, in the AutoDiff differentiation module.

The only method implemented in Function1D is the ndim() method. The rest is inhereted from Function .

Example

See Function .

Template Type Argument Requirements (T)

Definition at line 75 of file Function1D.h.


Member Typedef Documentation

template<class T, class U = T>
typedef const T* casa::Function1D< T, U >::FunctionArg

Reimplemented from casa::Function< T, U >.

Definition at line 78 of file Function1D.h.


Constructor & Destructor Documentation

template<class T, class U = T>
casa::Function1D< T, U >::Function1D ( ) [inline]

Constructors.

Definition at line 83 of file Function1D.h.

template<class T, class U = T>
casa::Function1D< T, U >::Function1D ( const uInt  n) [inline, explicit]

Definition at line 84 of file Function1D.h.

template<class T, class U = T>
casa::Function1D< T, U >::Function1D ( const Vector< T > &  in) [inline, explicit]

Definition at line 85 of file Function1D.h.

template<class T, class U = T>
casa::Function1D< T, U >::Function1D ( const FunctionParam< T > &  other) [inline]

Definition at line 86 of file Function1D.h.

template<class T, class U = T>
casa::Function1D< T, U >::Function1D ( const Function1D< T, U > &  other) [inline]

Definition at line 87 of file Function1D.h.

template<class T, class U = T>
template<class W , class X >
casa::Function1D< T, U >::Function1D ( const Function1D< W, X > &  other) [inline]

Definition at line 89 of file Function1D.h.

template<class T, class U = T>
virtual casa::Function1D< T, U >::~Function1D ( ) [inline, virtual]

Destructor.

Definition at line 93 of file Function1D.h.


Member Function Documentation

template<class T, class U = T>
virtual uInt casa::Function1D< T, U >::ndim ( ) const [inline, virtual]

Returns the number of dimensions of function.

Implements casa::Function< T, U >.

Definition at line 96 of file Function1D.h.


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