Trait 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]>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

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