sqrt method
Computes the square root of the element.
Implementation
@override
FieldSqrtResult<PallasNativeFp> sqrt() {
return PastaUtils.sqrtTonelliShanks(
f: this,
fPowTm1d2: powByTMinus1Over2(),
one: _one,
rootOfUnity: PallasNativeFp.rootOfUnity(),
s: 32,
conditionalSelect: (a, b, choice) => choice ? b : a,
);
}