pub trait SquareRootField: Field {
    fn legendre(&self) -> LegendreSymbol;
    fn sqrt(&self) -> Option<Self>;
    fn sqrt_in_place(&mut self) -> Option<&mut Self>;
}
Expand description

The interface for a field that supports an efficient square-root operation.

Required Methods

Returns the Legendre symbol.

Returns the square root of self, if it exists.

Sets self to be the square root of self, if it exists.

Implementors