Piecewise Polynomial Calculus

Functions for piecewise polynomial interpolation, integration, and differentiation of column-major data, compatible with code generation.

https://github.com/geoffstanley/neutral-surfaces/tree/master/lib/ppc

Vous suivez désormais cette soumission

Fast, codegen-compatible functions to build piecewise polynomial 1D interpolants of column-major data, and to evaluate, integrate, or differentiate them.
Linear, PCHIP, and Modified Akima interpolants are provided.
These functions efficiently work on every column of their inputs, and handle cases where an input has only one column (without internally expanding that variable). Each column is handled separately inside a for loop. This can be executed quickly by turning these functions into MEX functions via code generation -- although they are fairly fast in MATLAB R2015b and later owing to the JIT compiler. Evaluation is done using a fast binary search.
See also "Column Calculus".
--- This package is no longer updated here. Instead, get updates from github:

Citation pour cette source

Geoff Stanley (2026). Piecewise Polynomial Calculus (https://fr.mathworks.com/matlabcentral/fileexchange/73114-piecewise-polynomial-calculus), MATLAB Central File Exchange. Extrait(e) le .

Remerciements

Inspiré par : SPLINEFIT, Column Calculus

Informations générales

Compatibilité avec les versions de MATLAB

  • Compatible avec toutes les versions

Plateformes compatibles

  • Windows
  • macOS
  • Linux
Version Publié le Notes de version Action
1.0.1

Updated description. No changes to files.

1.0.0