From 8034930c0829794b88850b3b41ad22794cd10ec9 Mon Sep 17 00:00:00 2001 From: axect Date: Mon, 8 Apr 2024 23:47:29 +0900 Subject: [PATCH] RLSE: Ver 0.36.0 - Error handling for spline & prs - Whole new ODE --- Cargo.toml | 2 +- RELEASES.md | 32 ++++++++++++++++++++++++++++++++ 2 files changed, 33 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index efd476f9..87a8dbbe 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "peroxide" -version = "0.35.1" +version = "0.36.0" authors = ["axect "] edition = "2018" description = "Rust comprehensive scientific computation library contains linear algebra, numerical analysis, statistics and machine learning tools with farmiliar syntax" diff --git a/RELEASES.md b/RELEASES.md index 808c1fe9..f3df7bbd 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -1,3 +1,35 @@ +# Release 0.36.0 (2024-04-08) + +## Huge Update - Error handling & Whole new ODE + +### Error handling + +- Add `thiserror` for error handling +- Implement errors for cubic spline & cubic hermite spline. +- Implement errors for weighted uniform distribution & PRS. + +### Seedable sampling + +- Now, all distribution has `sample_with_rng` method. +- There are two wrappers for `SeedableRng` + - `smallrng_from_seed` : Performant but not secure + - `stdrng_from_seed` : Performant enough and secure enough + +### Whole new ODE + +- Remove all boilerplates. +- Now, `ODE` is composed of traits. + - `ODEProblem`: Trait for defining and ODE problem. + - `ODEIntegrator`: Trait for integrating ODE. + - `RK4`: Runge-Kutta 4th order + - `RKF45`: Runge-Kutta-Fehlberg 4/5th order + - `GL4`: Gauss-Legendre 4th order + - You can implement your own integrator. + - `ODESolver`: Trait for solving ODE. + - `BasicODESolver`: Basic ODE solver - define range of t, initial step size and integrate it. + - You can implement your own solver. +- For more information, see [docs for ode](https://axect.github.io/Peroxide_Doc/peroxide/numerical/ode/index.html). + # Release 0.35.1 (2024-03-29) - Add `PlotType` for `Plot2D`