Add spline theory pages, example programs, and infrastructure#49
Merged
Add spline theory pages, example programs, and infrastructure#49
Conversation
Four new pages covering the mathematical foundations: - theory_bsplines.md: B-spline basis, Cox-de Boor recurrence, de Boor evaluation, derivatives, integration, knot insertion, tensor products - theory_curve_fitting.md: smoothing criterion, adaptive knot placement, periodic/parametric extensions, convexity constraints - theory_surface_fitting.md: tensor product splines, scattered vs gridded fitting, Kronecker product efficiency, parametric surfaces - theory_special_domains.md: polar coordinate transform, origin continuity, spherical coordinates, pole boundary conditions All use Doxygen \f$ MathJax formatting with @ref cross-references.
One example per type group, registered in fpm.toml as [[example]] entries: - example_curve: noisy sine wave, smoothing sweep, derivatives, zeros - example_periodic_curve: cos(x)+sin(2x) on [0,2pi], periodicity check - example_parametric_curves: Lissajous, closed ellipse, constrained spiral - example_convex_curve: concavity-constrained exponential decay - example_surface: scattered sin(pi*x)*cos(pi*y) on [0,1]^2 - example_grid_surface: peaks function grid + parametric torus - example_polar: scattered/gridded data on unit disc - example_sphere: scattered/gridded spherical harmonic data All build with `fpm run --example <name>` and produce diagnostic output.
- Doxyfile: add INPUT entries for 4 theory + 8 tutorial pages, set IMAGE_PATH to doc/media - mainpage.md: restructure into Spline Theory, Tutorials (Curves, Surfaces, Special Domains), Examples, and Reference sections
perazz
added a commit
that referenced
this pull request
Feb 19, 2026
During the PR #49 rebase, both files were accidentally replaced with `git show` output (commit message + unified diff). Restore the correct 317-line Doxyfile (theme, MathJax, HTML header) and 130-line mainpage.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
fpm run --example <name>Builds on #48 (fixes) and the tutorial/plot-script changes already merged to main.
Test plan
fpm buildsucceedsfpm test— 59/59 tests passdoxygen Doxyfile— zero warnings from doc pages