The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....



SplineSmoothingFactor


Unit:SDL_math2
Class:TCurveFit
Declaration:property SplineSmoothingFactor: double;

The property SplineSmoothingFactor specifies the extent of smoothing used for the calculation of a smoothed spline. This property may assume values between 0.0 and 1.0. A value of 0.0 means no smoothing at all, creating a normal cubic spline interpolation (natural spline with second derivative equal to zero at the endpoins). A value of 1.0 calculates a linear least squares fit (which can be seen as the result of maximal smoothing).

Example: This property is used in the following example program (see http://www.lohninger.com/examples.html for downloading the code): curvefit, spline



Last Update: 2012-Oct-20