cralgebra 0.2.1

A fast crypto algebra library
Documentation
1
2
3
4
5
6
7
8
9
10
11
/// Uniform random distribution with optional parameter.
pub struct StandardDyn<'a, C> {
    pub ctx: &'a C,
}

impl<'a, C> StandardDyn<'a, C> {
    /// Creates a new distribution object.
    pub fn new(ctx: &'a C) -> Self {
        Self { ctx }
    }
}