gcm-lcm

Crates.iogcm-lcm
lib.rsgcm-lcm
version0.1.0
sourcesrc
created_at2023-09-05 01:47:02.723181
updated_at2023-09-05 01:47:02.723181
descriptionGreatest convex minorant, least concave majorant
homepage
repositoryhttps://github.com/andrewjradcliffe/gcm-lcm/
max_upload_size
id963817
size49,323
Andrew Radcliffe (andrewjradcliffe)

documentation

README

gcm-lcm

crate documentation

Usage

Add this to your Cargo.toml:

[dependencies]
gcm-lcm = "0.1"

Description

Construct the greatest convex minorant (GCM) or least concave majorant (LCM). This may be of use if your computations involve stochastic processes. Alternatively, perhaps you wish to construct a convex (or concave) function approximation for use in an optimization problem, simulation (e.g. inverse transform sampling using the LCM of an empirical cumulative distribution function), or something more creative.

The full description of the algorithm is provided in a pre-print.

License

Licensed under either of

at your option.

Contribution

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.

Commit count: 68

cargo fmt