Skip to content

Enhance documentation, error handling, and Barycentric interpolation#1

Merged
VPRamon merged 2 commits into
mainfrom
dev
May 6, 2026
Merged

Enhance documentation, error handling, and Barycentric interpolation#1
VPRamon merged 2 commits into
mainfrom
dev

Conversation

@VPRamon

@VPRamon VPRamon commented May 6, 2026

Copy link
Copy Markdown
Member

No description provided.

VPRamon added 2 commits May 6, 2026 21:33
- Added comprehensive documentation to `approx`, `calculus`, `core`, `io`, `piecewise`, `quadrature`, and `spectral` modules, detailing theory, features, and performance.
- Expanded `ChebyError` enum with additional error variants for better error handling in binary operations and Remez exchange.
- Improved error messages in `ChebyError` implementation for clarity.
- Implemented checks for segment boundaries in `AdaptiveSegmentTable` to ensure contiguous segments.
- Added tests for adaptive piecewise tables, calculus round-trip, error branches, minimax convergence, and quadrature/spectral accuracy.
- Updated binary encoding/decoding functions to handle new error cases and improve robustness.
- Enhanced `BarycentricInterpolator` to handle single-node cases correctly, ensuring constant evaluation without division by zero.
- Added methods for constructing interpolators on Chebyshev roots and Lobatto nodes with closed-form weights for improved performance and stability.
- Introduced a `DefiniteIntegralFromStart` struct for efficient evaluation of definite integrals from the start of a domain, reducing overhead for repeated queries.
- Updated the `integral` method in `ChebySeriesDyn` to support non-truncating indefinite integrals.
- Improved error handling for out-of-domain evaluations in integral calculations.
- Added tests to verify the correctness of new features and ensure regression prevention.
- Refactored existing code for clarity and performance, including optimizations in the Clenshaw-Curtis quadrature implementation.
@VPRamon VPRamon self-assigned this May 6, 2026
@VPRamon VPRamon merged commit ec854a8 into main May 6, 2026
2 checks passed
@VPRamon VPRamon deleted the dev branch May 6, 2026 20:55
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