v0.2.1
Patch release. Additive API changes only, no removals or breaking changes.
Added
- Curated top-level entry points, so the main extension points resolve
directly on the package:styne.Model,styne.Parameter,
styne.MetropolisHastings,styne.DifferentiableModel. ExplicitFunctionexported fromstyne.utility.__version__on the package, single-sourced from installed metadata.
Changed
- Finite-element boundary-condition helpers (
apply_dirichlet_1d,
apply_dirichlet_2d,apply_neumann_1d) now take an optional
right-hand side. Called with a rhs they behave as before; called
without one they return the constrained matrix alone. - PDE inverse-problem example (
examples/04_pde_inverse_problem.py)
rewritten.
Docs
- Corrected the
Modelcontract: parameter-dependent precomputation
belongs in_interpolate, keeping_evaluatelight. - Likelihood and finite-element docstring overhaul.