[[bench]]
harness = false
name = "hyperbolic"
path = "benches/hyperbolic.rs"
[dependencies.innr]
optional = true
version = "0.1.0"
[dependencies.ndarray]
optional = true
version = "0.16"
[dependencies.num-traits]
version = "0.2"
[dependencies.thiserror]
version = "2.0"
[dev-dependencies.approx]
version = "0.5"
[dev-dependencies.criterion]
features = ["html_reports"]
version = "0.5"
[dev-dependencies.proptest]
version = "1.5"
[dev-dependencies.rand]
version = "0.9"
[dev-dependencies.rand_chacha]
version = "0.9"
[[example]]
name = "graph_diagnostics"
path = "examples/graph_diagnostics.rs"
[[example]]
name = "hierarchy_recovery"
path = "examples/hierarchy_recovery.rs"
required-features = ["ndarray"]
[[example]]
name = "poincare_basics"
path = "examples/poincare_basics.rs"
required-features = ["ndarray"]
[[example]]
name = "taxonomy_embedding"
path = "examples/taxonomy_embedding.rs"
required-features = ["ndarray"]
[[example]]
name = "tree_embedding"
path = "examples/tree_embedding.rs"
required-features = ["ndarray"]
[features]
default = ["ndarray"]
ndarray = ["dep:ndarray"]
simd = ["dep:innr"]
[lib]
name = "hyp"
path = "src/lib.rs"
[package]
authors = ["Arc <attobop@gmail.com>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["algorithms", "science", "mathematics"]
description = "Hyperbolic geometry: Poincare ball, Lorentz model, Mobius operations"
documentation = "https://docs.rs/hyp"
edition = "2021"
keywords = ["hyperbolic", "poincare", "lorentz", "embeddings", "geometry"]
license = "MIT OR Apache-2.0"
name = "hyp"
readme = "README.md"
repository = "https://github.com/arclabs561/hyp"
rust-version = "1.75"
version = "0.1.0"
[[test]]
name = "numerical_stability"
path = "tests/numerical_stability.rs"
[[test]]
name = "property_tests"
path = "tests/property_tests.rs"