gkquad

Crates.iogkquad
lib.rsgkquad
version0.0.4
sourcesrc
created_at2020-02-09 07:46:45.273186
updated_at2020-02-28 04:17:47.369583
descriptionNumerical integration library for Rust
homepagehttps://github.com/Kogia-sima/gkquad-rs
repositoryhttps://github.com/Kogia-sima/gkquad-rs
max_upload_size
id206585
size147,117
Kogia-sima (Kogia-sima)

documentation

README

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

Commit count: 261

cargo fmt