Module bsplines::curve::generation
source · Expand description
Generates a curve with different methods knot into the curve.
§Methods
- Manual control polygon
- Interpolation
- Least-Squares Fit
- fixed start and end points
- unpenalized/penalized
Raw Data | Manual Control Polygon | Interpolation |
---|---|---|
Scattered, 2-dimensional data points ( N = 18 ). | Curve of degree p = 2 with n = N-1 segments and control points generated directly from the data points. | Curve of degree p = 2 and n = N-1 segments interpolating the data points. |
Least-Squares Fit | Least-Squares Fit | Penalized Least-Squares Fit |
Curve of degree p = 2 with n = N-1 segments approximating the data points. | Curve of degree p = 2 with n= N/3 segments approximating the data points. | Curve of degree p = 2 with n= N/3 segments approximating the data points penalized with λ = 1 , κ = 2 . |
Enums§
Functions§
- Returns a B-Spline