JuliaGNI/CompactBasisFunctions.jl: v0.4.0
CompactBasisFunctions v0.4.0 Diff since v0.3.1 This release is breaking. The internal shape of every basis changes: none of them stores its basis functions any more, so each loses the type parameter that described that store, and Chebyshev loses a second one besides. A ContinuumArrays.Basis subtype defined elsewhere that omits an accessor now gets the standard MethodError rather than this package's ErrorException . One numerical result changes, and it is a fix: a Legendre basis evaluated at an argument wider than its own element type was accurate only to that element type. Breaking Changes Every basis type loses a type parameter. No basis stores its basis functions any more, so each drops the parameter that described that store, and Chebyshev drops a second one besides. Bernstein and Legendre now hold a single Int , and Lagrange its nodes, denominators and cached node differences. Code that spells a basis type with its parameters, or reaches into a field, has to be updated; the constructors and the documented interface are unchanged. The generic accessor fallbacks are removed. basis , nodes , nnodes , order and degree were methods on ContinuumArrays.Basis , which this package does not own. A Basis subtype defined elsewhere that does not implement an accessor now raises the ordinary MethodError instead of this package's ErrorException . Implement the accessor for that type. The modal bases' own message, which names the basis and says it is modal, is unchanged. Legendre returns different values at a widened argument. A Float64 basis evaluated at a BigFloat point was accurate only to Float64 ; it is now correct in the wider type. Values at matching precision are unchanged. A one-node Lagrange basis likewise returns its result in the promoted type. Both are fixes, detailed under Fixed . basis(b) builds its callables on each call instead of returning a stored array.
- Link
- https://zenodo.org/records/22746920
- Found by
- Zenodo
- Authors
- Michael Kraus
- Categories
- evaluation
- Published
- 2026-09-14
- Last seen by the radar
- 2026-09-14
- Downloads
- 300
- Views
- 897
- Radar score
- 47.14 / 100 (how it is scored)
- Why it scored so
- Matched: evaluat; Recency discount: updated event ×0.5; Primary record: Zenodo
- Related links
- https://doi.org/10.5281/zenodo.22746920