|
fitpack
Modern Fortran library for curve and surface fitting with splines
|
Abstract base type for all FITPACK OOP fitters. More...

Public Member Functions | |
| procedure, non_overridable | mse (this) |
| MSE accessor (shared by all types) | |
| procedure, non_overridable | core_comm_size (this) |
| Base field helpers for comm (non-overridable, called by subtypes) | |
| procedure, non_overridable | core_comm_pack (this, buffer) |
| Pack base fields into communication buffer. | |
| procedure, non_overridable | core_comm_expand (this, buffer) |
| Expand base fields from communication buffer. | |
| procedure, non_overridable | destroy_base (this) |
| Base field reset (called by subtype destroy methods) | |
| procedure(comm_size_if), deferred | comm_size (this) |
| Deferred communication interface. | |
| procedure(comm_pack_if), deferred | comm_pack (this, buffer) |
| procedure(comm_expand_if), deferred | comm_expand (this, buffer) |
Public Attributes | |
| integer(fp_flag) | iopt = IOPT_NEW_SMOOTHING |
| Fitting state flag. | |
| real(fp_real) | smoothing = 1000.0_FP_REAL |
| Smoothing parameter. | |
| real(fp_real) | fp = zero |
| Weighted sum of squared residuals. | |
| real(fp_real), dimension(:), allocatable | c |
| B-spline coefficients. | |
| integer(fp_size) | lwrk = 0 |
| Real workspace and its size. | |
| real(fp_real), dimension(:), allocatable | wrk |
| integer(fp_size) | liwrk = 0 |
| Integer workspace and its size. | |
| integer(fp_size), dimension(:), allocatable | iwrk |
Abstract base type for all FITPACK OOP fitters.
Stores the common fitting state: computation mode (iopt), smoothing parameter, weighted sum of squared residuals (fp), B-spline coefficients, and workspaces. Subtypes extend this with domain-specific data (knots, data points, etc.).
|
pure virtual |
|
pure virtual |
|
pure virtual |
Deferred communication interface.
|
final |
Expand base fields from communication buffer.
|
final |
Pack base fields into communication buffer.
|
final |
Base field helpers for comm (non-overridable, called by subtypes)
|
final |
Base field reset (called by subtype destroy methods)
|
final |
MSE accessor (shared by all types)
| real(fp_real), dimension(:), allocatable fitpack_fitters::fitpack_fitter::c |
B-spline coefficients.
| integer(fp_flag) fitpack_fitters::fitpack_fitter::iopt = IOPT_NEW_SMOOTHING |
Fitting state flag.
| integer(fp_size), dimension(:), allocatable fitpack_fitters::fitpack_fitter::iwrk |
| integer(fp_size) fitpack_fitters::fitpack_fitter::liwrk = 0 |
Integer workspace and its size.
| integer(fp_size) fitpack_fitters::fitpack_fitter::lwrk = 0 |
Real workspace and its size.
| real(fp_real) fitpack_fitters::fitpack_fitter::smoothing = 1000.0_FP_REAL |
Smoothing parameter.
| real(fp_real), dimension(:), allocatable fitpack_fitters::fitpack_fitter::wrk |