Crates.io | lnexp |
lib.rs | lnexp |
version | 0.2.1 |
source | src |
created_at | 2023-07-21 22:11:35.501474 |
updated_at | 2024-05-24 18:30:31.946619 |
description | Carefully evaluate compositions of log, exp, log1p and expm1 |
homepage | |
repository | https://github.com/andrewjradcliffe/lnexp/ |
max_upload_size | |
id | 922742 |
size | 44,963 |
Add this to your Cargo.toml
:
[dependencies]
lnexp = "0.2"
Provides a trait (LnExp
) for floating-point types to perform careful
evaluation of compositions of ln
, ln_1p
, exp
and exp_m1
.
Implementations are provided for f64
and f32
; see the
documentation for details. The most common domain in which such
compositions appear is statistical computing, but the advantages
afforded by the implementations are neither specific nor limited to
such a domain.
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.