Trait tonelli_shanks::ModIntBaseExt[][src]

pub trait ModIntBaseExt: ModIntBase {
    fn sqrt(self) -> Option<Self> { ... }
}
Expand description

Performs Tonelli–Shanks algorithm.

Provided methods

fn sqrt(self) -> Option<Self>[src]

Performs Tonelli–Shanks algorithm.

Implementors

impl<Z: ModIntBase> ModIntBaseExt for Z[src]