#math #numerics #no_std #integral #quadrature

no-std gkquad

Numerical integration library for Rust

2 releases

✓ Uses Rust 2018 edition

0.0.2 Feb 12, 2020
0.0.1 Feb 9, 2020

#61 in Math

MIT license

2.5K SLoC


Version docs License: MIT Twitter: Kogia_sima

Numerical Integration Library for Rust


  • Compatible with latest stable/beta/nightly Rust compiler
  • Compatible with no_std
  • Super 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 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.

version = "0.0.2"
default-features = false
features = ["single"]


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

$ cargo bench

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

running 3 tests
test infinite_interval ... bench:         211 ns/iter (+/- 4)
test simple            ... bench:          38 ns/iter (+/- 1)
test singular_points   ... bench:         621 ns/iter (+/- 42)

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

Source code can be found here.


👤 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