SplineFitting< SplineType > Struct Template Reference

Spline fitting methods. More...

#include <SplineFitting.h>

Public Types

typedef SplineType::KnotVectorType KnotVectorType
 

Static Public Member Functions

template<typename PointArrayType>
static SplineType Interpolate (const PointArrayType &pts, DenseIndex degree)
 Fits an interpolating Spline to the given data points.
 
template<typename PointArrayType>
static SplineType Interpolate (const PointArrayType &pts, DenseIndex degree, const KnotVectorType &knot_parameters)
 Fits an interpolating Spline to the given data points.
 

Detailed Description

template<typename SplineType>
struct Eigen::SplineFitting< SplineType >

Spline fitting methods.

Member Function Documentation

◆ Interpolate() [1/2]

template<typename SplineType>
template<typename PointArrayType>
SplineType Interpolate ( const PointArrayType & pts,
DenseIndex degree )
static

Fits an interpolating Spline to the given data points.

Parameters
ptsThe points for which an interpolating spline will be computed.
degreeThe degree of the interpolating spline.
Returns
A spline interpolating the initially provided points.

References Interpolate().

Referenced by Interpolate().

◆ Interpolate() [2/2]

template<typename SplineType>
template<typename PointArrayType>
SplineType Interpolate ( const PointArrayType & pts,
DenseIndex degree,
const KnotVectorType & knot_parameters )
static

Fits an interpolating Spline to the given data points.

Parameters
ptsThe points for which an interpolating spline will be computed.
degreeThe degree of the interpolating spline.
knot_parametersThe knot parameters for the interpolation.
Returns
A spline interpolating the initially provided points.

References HouseholderQR< typename _MatrixType >::solve().


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