Skip to content

Public API cleanup: umbrella module re-exports and missing methods#40

Merged
perazz merged 1 commit intomainfrom
public-api-cleanup
Feb 16, 2026
Merged

Public API cleanup: umbrella module re-exports and missing methods#40
perazz merged 1 commit intomainfrom
public-api-cleanup

Conversation

@perazz
Copy link
Owner

@perazz perazz commented Feb 16, 2026

Summary

  • Re-export constants, error flags, fitting flags, and utility functions from the fitpack umbrella module so users only need use fitpack
  • Add eval/eval_ongrid to fitpack_surface (scattered via bispeu, grid via bispev)
  • Add interpolate/least_squares to fitpack_surface and least_squares to fitpack_curve
  • Add mse to all 6 surface/polar/sphere types that were missing it

Test plan

  • fpm build compiles cleanly
  • fpm test — all 50 tests pass (16 interface + 29 legacy + 5 C++)
  • New test_umbrella_api verifies constants, eval, eval_ongrid, mse, interpolate, least_squares all work through use fitpack

Re-export constants, error flags, fitting flags, and utility functions
from the fitpack umbrella module so users need only `use fitpack`.

Add missing methods across types:
- eval/eval_ongrid on fitpack_surface (scattered via bispeu, grid via bispev)
- interpolate/least_squares on fitpack_surface
- least_squares on fitpack_curve
- mse on all 6 surface/polar/sphere types
@perazz perazz merged commit 0eef226 into main Feb 16, 2026
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant