Crates.io | horner-eval |
lib.rs | horner-eval |
version | 0.1.0 |
source | src |
created_at | 2023-03-08 02:13:42.171174 |
updated_at | 2023-03-08 02:13:42.171174 |
description | A macro for evaluating polynomials via Horner's rule |
homepage | |
repository | https://github.com/andrewjradcliffe/horner-eval/ |
max_upload_size | |
id | 804091 |
size | 23,184 |
Add this to your Cargo.toml
[dependencies]
horner-eval = "0.1.0"
If Horner's rule is appropriate for your polynomial, then, almost assuredly, you want to unroll
the loop. The horner!
macro provided by this crate does just that.
Licensed under either of
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.