Skip to content

Commit

Permalink
Merge branch 'release' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
Axect committed Jul 30, 2024
2 parents a30cf6e + 9247f21 commit a1add89
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "peroxide"
version = "0.37.7"
version = "0.37.8"
authors = ["axect <[email protected]>"]
edition = "2018"
description = "Rust comprehensive scientific computation library contains linear algebra, numerical analysis, statistics and machine learning tools with farmiliar syntax"
Expand Down
23 changes: 23 additions & 0 deletions RELEASES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,26 @@
# Release 0.37.8 (2024-07-30)

- Integrate with [lambert_w](https://crates.io/crates/lambert_w) crate ([#63](https://github.com/Axect/Peroxide/pull/63)) (Thanks to [@JSorngard](https://github.com/JSorngard))
- Write flexible wrapper for [lambert_w](https://crates.io/crates/lambert_w)
```rust
pub enum LambertWAccuracyMode {
Simple, // Faster, 24 bits of accuracy
Precise, // Slower, 50 bits of accuracy
}

pub fn lambert_w0(z: f64, mode: LambertWAccuracyMode) -> f64;
pub fn lambert_wm1(z: f64, mode: LambertWAccuracyMode) -> f64;
```

- Write default Lambert W function for `prelude` (Precise as default)
```rust
use peroxide::prelude::*;

fn main() {
lambert_w0(1.0).print(); // Same as fuga::lambert_w0(1.0, LambertWAccuracyMode::Simple)
}
```

# Release 0.37.7 (2024-07-05)

- Bump `pyo3` dependency to `0.22`
Expand Down

0 comments on commit a1add89

Please sign in to comment.