fitpack
Modern Fortran library for curve and surface fitting with splines
Loading...
Searching...
No Matches
fitpack_convex_curves.f90 File Reference

Data Types

interface  fitpack_convex_curves::fitpack_convex_curve
 Cubic spline fitter with pointwise convexity/concavity constraints. More...
 

Modules

module  fitpack_convex_curves
 OOP wrapper for constrained-convexity curve fitting.
 

Functions/Subroutines

type(fitpack_convex_curve) function fitpack_convex_curves::convex_new_from_points (x, y, v, w, smoothing, ierr)
 Construct a convex curve from data points with convexity constraints and fit it.
 
elemental subroutine fitpack_convex_curves::convex_destroy (this)
 Destroy the convex curve object and release all allocated memory.
 
subroutine fitpack_convex_curves::convex_new_points (this, x, y, w)
 Load new data points and allocate workspace for convex fitting.
 
integer(fp_flag) function fitpack_convex_curves::set_convexity (this, v)
 Set pointwise convexity constraints.
 
elemental integer(fp_flag) function fitpack_convex_curves::remap_concon_error (ier)
 
integer(fp_flag) function fitpack_convex_curves::convex_fit_automatic_knots (this, smoothing, order, keep_knots)
 Fit a smoothing spline with convexity constraints and automatic knot placement.
 
integer(fp_flag) function fitpack_convex_curves::convex_fit_least_squares (this, smoothing, reset_knots)
 Fit a least-squares spline with convexity constraints on the current knots.
 
pure real(fp_real) function fitpack_convex_curves::nearest_constraint (t_knot, x, v, m)
 
elemental integer(fp_size) function fitpack_convex_curves::convex_comm_size (this)
 Return the communication buffer size for the convex curve.
 
pure subroutine fitpack_convex_curves::convex_comm_pack (this, buffer)
 Pack convex curve data into a communication buffer.
 
pure subroutine fitpack_convex_curves::convex_comm_expand (this, buffer)
 Expand convex curve data from a communication buffer.