DOinterpolate1d.h

Classes

interpolate1d -- The C++ side of the glish interpolate1d tool. (full description)

class interpolate1d : public ApplicationObject

Interface

Public Members
interpolate1d()
virtual ~interpolate1d()
Vector<Double> interpolate(const Vector<Double>& x)
Bool initialize(const Vector<Double>& x, const Vector<Double>& y, const String &method)
void setmethod(const String& method)
virtual String className() const
virtual Vector<String> noTraceMethods() const
virtual Vector<String> methods() const
virtual MethodResult runMethod(uInt which, ParameterSet &inputRecord, Bool runmethod)
Private Members
interpolate1d(const interpolate1d &other)
interpolate1d& operator=(const interpolate1d &other)

Description

Review Status

Date Reviewed:
yyyy/mm/dd

Prerequisite

Etymology

The name MUST have the 'DO' prefix as this class is derived from ApplicationObject, and hence is classified as a distributed object. For the same reason the rest of its name must be in lower case. This class is a simplified version of the Interpolate1d class.

Synopsis

Example

Motivation

Thrown Exceptions

To Do

Member Description

interpolate1d()

virtual ~interpolate1d()

Vector<Double> interpolate(const Vector<Double>& x)

the actual implementation of the virtual functions

Bool initialize(const Vector<Double>& x, const Vector<Double>& y, const String &method)

void setmethod(const String& method)

neearest, linear, cubic or spline

virtual String className() const

Needed for the DO system

virtual Vector<String> noTraceMethods() const

virtual Vector<String> methods() const

virtual MethodResult runMethod(uInt which, ParameterSet &inputRecord, Bool runmethod)

interpolate1d(const interpolate1d &other)

interpolate1d& operator=(const interpolate1d &other)