logo
pub trait Invert {
    type Output;
    fn invert(&self) -> CtOption<Self::Output>;
}
Expand description

Perform an inversion on a field element (i.e. base field element or scalar)

Associated Types

Field element type

Required methods

Invert a field element.

Implementors