#ifndef NUMMODELBSPLINE_HH #define NUMMODELBSPLINE_HH //////////////////////////////////////////////////////////////////////////// //! author="Robert Crida" //! lib=NumModelBasicModels //! date="21/4/1998" //! userlevel=Normal //! example=testNumModel.cc //! file="amma/PatternRec/FuncTools/Model/BasicModels/NumModelBspline.hh" //! docentry="Numerical Methods.Multidimensional Models.Implementation" //! rcsid="$Id: NumModelBspline.hh,v 1.6 2000/02/16 14:10:33 ees1cg Exp $" #include "amma/Num/NumModel.hh" #include "amma/Num/NumModelBsplineB.hh" //: Model for fitting open B-splines. // // Currently, closed splines are not supported. The main form for spline // representation is the quadratic B-spline which require at least 3 control // points. When only 2 control points are available, a linear smoothing // function is used and if only 1 control point is used, a constant value is // used. class NumModelBsplineC: public NumModelC { public: NumModelBsplineC (IntSArray1dC numPoints, const VectorC &Xmin, const VectorC &Xmax) :NumModelC(*(new NumModelBsplineBC (numPoints,Xmin,Xmax))) {} //: Constructor //!param: numPoints - number of control points in each dimension //!param: Xmin - lower bound on parameter vector //!param: Xmax - upper bound on parameter vector }; #endif