#math #numerics #no_std #integral #quadrature

no-std gkquad

Numerical integration library for Rust

3 releases

0.0.4 Feb 28, 2020
0.0.3 Feb 27, 2020
0.0.2 Feb 12, 2020
0.0.1 Feb 9, 2020

#64 in Math

Download history 5/week @ 2020-04-04 25/week @ 2020-04-11 5/week @ 2020-04-18 2/week @ 2020-04-25 1/week @ 2020-05-02 1/week @ 2020-05-09 5/week @ 2020-05-23 9/week @ 2020-05-30 4/week @ 2020-06-06 1/week @ 2020-06-13 5/week @ 2020-06-27 4/week @ 2020-07-04 8/week @ 2020-07-11 4/week @ 2020-07-18

56 downloads per month

MIT license

125KB
3K SLoC

gkquad

Version docs License: MIT Twitter: Kogia_sima

Numerical Integration Library for Rust

Features

  • Compatible with latest stable/beta/nightly Rust compiler
  • Compatible with no_std
  • Extremely fast and simple API
  • Semi-verified computation (You can specify the maximum calculation tolerance)
  • Lightweight (small dependencies)
  • Highly extensible (you can implement a new algorithm)

Note: no_std compatibility

gkquad depends on alloc crate, so you have to specify the global allocator in order to use gkquad.

If you want to use this crate in no_std environment, you must disable the std feature flag.

[dependencies.gkquad]
version = "0.0.4"
default-features = false
features = ["single"]

Performance

Here is the benchmark measured on the Intel Core(TM) i5 @ 1.60GHz (without turbo boost)

$ cargo bench

     Running /tmp/gkquad-rs/target/release/deps/single-3b52efd7f739cf4b

running 3 tests
test infinite_range  ... bench:         524 ns/iter (+/- 10)
test simple          ... bench:          96 ns/iter (+/- 1)
test singular_points ... bench:       1,516 ns/iter (+/- 2)

test result: ok. 0 passed; 0 failed; 0 ignored; 3 measured

Source code can be found here.

Author

👤 Kogia-sima

🤝 Contributing

Contributions, issues and feature requests are welcome!

Feel free to check issues page.

Show your support

Give a ⭐️ if this project helped you!

📝 License

Copyright © 2020 Kogia-sima.

This project is MIT licensed.


This README was generated with ❤️ by readme-md-generator

Dependencies

~80KB