Trait groupmap::GroupMap

source ·
pub trait GroupMap<F> {
    // Required methods
    fn setup() -> Self;
    fn to_group(&self, u: F) -> (F, F);
    fn batch_to_group_x(&self, ts: Vec<F>) -> Vec<[F; 3]>;
}

Required Methods§

source

fn setup() -> Self

source

fn to_group(&self, u: F) -> (F, F)

source

fn batch_to_group_x(&self, ts: Vec<F>) -> Vec<[F; 3]>

Implementors§

source§

impl<G: SWCurveConfig> GroupMap<<G as CurveConfig>::BaseField> for BWParameters<G>