v0.36.1
Release 0.36.1 (2024-04-09)
-
Fix all warnings in peroxide
-
Change redundant method
Vec<f64>::resize
->Vec<f64>::reshape
-
Error handling for concatenation
cbind
&rbind
now returnsResult<Matrix, ConcatenateError>
-
New non-macro utils
column_stack(&[Vec<f64>]) -> Result<Matrix, ConcatenateError>
row_stack(&[Vec<f64>]) -> Result<Matrix, ConcatenateError>
rand_with_rng(usize, usize, &mut Rng) -> Matrix
-
Generic Butcher tableau trait (now for embedded Runge-Kutta methods)
pub trait ButcherTableau { const C: &'static [f64]; const A: &'static [&'static [f64]]; const BH: &'static [f64]; const BL: &'static [f64]; fn tol(&self) -> f64; fn safety_factor(&self) -> f64; fn max_step_size(&self) -> f64; fn min_step_size(&self) -> f64; fn max_step_iter(&self) -> usize; }
-
Implement
ODEIntegrator
forButcherTableau
- Just declare
ButcherTableau
thenstep
is free
- Just declare
-
Three available embedded Runge-Kutta methods
RKF45
: Runge-Kutta-Fehlberg 4/5th orderDP45
: Dormand-Prince 4/5th orderTSIT45
: Tsitouras 4/5th order
-
Full Changelog: v0.36.0...v0.36.1