Function identity

Source
pub fn identity<G>(generators: &Vec<G>) -> G
where G: GroupElement,
Expand description

Calculate an identity element for a set of generators. Assume that set is non empty, panics otherwise.