Skip to content

Commit 9c7f7ee

Browse files
committed
RLSE: Ver 0.39.5
- Add new feature `rkyv`
1 parent 75d41f9 commit 9c7f7ee

File tree

4 files changed

+9
-2
lines changed

4 files changed

+9
-2
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "peroxide"
3-
version = "0.39.4"
3+
version = "0.39.5"
44
authors = ["axect <[email protected]>"]
55
edition = "2018"
66
description = "Rust comprehensive scientific computation library contains linear algebra, numerical analysis, statistics and machine learning tools with farmiliar syntax"

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ Peroxide provides various features.
4646
- `csv` - To handle csv file format with Matrix or DataFrame
4747
- `parquet` - To handle parquet file format with DataFrame
4848
- `serde` - serialization with [Serde](https://serde.rs/).
49+
- `rkyv` - serialization with [rkyv](https://rkyv.org).
4950

5051
If you want to do high performance computation and more linear algebra, then choose `O3` feature.
5152
If you don't want to depend C/C++ or Fortran libraries, then choose `default` feature.

RELEASES.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# Release 0.39.5 (2025-04-21)
2+
3+
- New feature `rkyv`
4+
- Implement `rkyv::{Archive, Serialize, Deserialize}` for `Matrix`, `Polynomial`, `Spline`, `ODE`
5+
16
# Release 0.39.4 (2025-04-11)
27

38
## Optimize `integrate`

src/statistics/stat.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -555,7 +555,8 @@ pub fn cor(v1: &Vec<f64>, v2: &Vec<f64>) -> f64 {
555555
///
556556
/// fn main() {
557557
/// let a: Matrix = c!(1,2,3,4,5).into();
558-
/// let b: Matrix = &a + &Normal(0,1).sample(5).into();
558+
/// let noise: Matrix = Normal(0,1).sample(5).into();
559+
/// let b: Matrix = &a + &noise;
559560
/// lm(&a, &b).print();
560561
///
561562
/// // c[0]

0 commit comments

Comments
 (0)