Skip to content

v0.4.1

Latest

Choose a tag to compare

@VPRamon VPRamon released this 30 Sep 18:57
· 1 commit to main since this release
ba9e32b

[0.4.1] - 2026-09-30
Fixed

Fixed dynamic fitting and root-finding builds in no_std + alloc configurations by importing Vec from alloc.
Updated crate metadata to advertise no-std support.

[0.4.0] - 2026-06-07
Added

fit_dyn_from_fn and fit_coeffs_dyn for dynamic Chebyshev fitting on normalized [-1, 1].
ChebySeriesDyn<f64>::roots, roots_with, and tail_norm for root finding on the unit interval via Durand–Kerner iteration with Chebyshev-node fallback for tangency roots.
ChebySeriesDyn<f64>::shifted_constant and shift_constant_in_place for level-set root searches without refitting.
ChebySeriesDynOn<f64, X>::roots and roots_with for domain-mapped roots.
RootOptions with validated and effective tolerance sanitization.
Comprehensive root-finding tests and benchmarks.

Changed

Shared fixed-size and dynamic coefficient fitting through a single accumulate_coeffs helper.
Root finding converts Chebyshev coefficients to power basis, applies Durand–Kerner, verifies residuals against RootOptions::zero_tol, and falls back to node scanning when needed.
Constant and identically-zero series return an empty root list.
fit_dyn_from_fn(0, …) now produces a single-coefficient constant fit.