Skip to main content

ark_relations/utils/
mod.rs

1use error::SynthesisError;
2
3/// Different errors and error messages used in the library.
4pub mod error;
5
6/// Tools to work with linear combinations.
7pub mod linear_combination;
8
9/// Tools to work with matrices.
10pub mod matrix;
11
12/// Tools to work with variables.
13pub mod variable;
14
15/// A result type specialized to `SynthesisError`.
16pub type Result<T> = core::result::Result<T, SynthesisError>;
17
18/// A type alias for a hash builder that uses the foldhash algorithm.
19pub type HashBuilder = foldhash::fast::SeedableRandomState;
20/// A type alias for an index map that uses the foldhash algorithm.
21pub type IndexMap<K, V> = indexmap::IndexMap<K, V, HashBuilder>;