Function1D.h

Classes

Function1D -- Numerical functional interface class for 1 dimension (full description)

template<class T, class U=T> class Function1D : public Function<T,U>

Interface

Public Members
Function1D() : Function<T,U>()
explicit Function1D(const uInt n) : Function<T,U>(n)
explicit Function1D(const Vector<T> &in) : T<T,U>(in)
Function1D(const FunctionParam<T> &other) : other<T,U>(other)
Function1D(const Function1D<T,U> &other) : Function<T,U>(other)
template <class W, class X> Function1D(const Function1D<W,X> &other) : X<T,U>(other)
virtual ~Function1D()
virtual uInt ndim() const

Description

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)

Member Description

Function1D() : Function<T,U>()
explicit Function1D(const uInt n) : Function<T,U>(n)
explicit Function1D(const Vector<T> &in) : T<T,U>(in)
Function1D(const FunctionParam<T> &other) : other<T,U>(other)
Function1D(const Function1D<T,U> &other) : Function<T,U>(other)
template <class W, class X> Function1D(const Function1D<W,X> &other) : X<T,U>(other)

Constructors

virtual ~Function1D()

Destructor

virtual uInt ndim() const

Returns the number of dimensions of function