pub struct FP4 { /* private fields */ }
Implementations
sourceimpl FP4
impl FP4
pub fn new() -> FP4
pub fn new_int(a: isize) -> FP4
pub fn new_copy(x: &FP4) -> FP4
pub fn new_fp2s(c: &FP2, d: &FP2) -> FP4
pub fn new_fp2(c: &FP2) -> FP4
pub fn reduce(&mut self)
pub fn norm(&mut self)
pub fn cmove(&mut self, g: &FP4, d: isize)
pub fn iszilch(&self) -> bool
pub fn isunity(&self) -> bool
pub fn isreal(&mut self) -> bool
pub fn real(&self) -> FP2
pub fn geta(&self) -> FP2
pub fn getb(&self) -> FP2
pub fn equals(&self, x: &FP4) -> bool
pub fn copy(&mut self, x: &FP4)
pub fn zero(&mut self)
pub fn one(&mut self)
pub fn neg(&mut self)
pub fn conj(&mut self)
pub fn nconj(&mut self)
pub fn add(&mut self, x: &FP4)
pub fn padd(&mut self, x: &FP2)
pub fn dbl(&mut self)
pub fn sub(&mut self, x: &FP4)
pub fn rsub(&mut self, x: &FP4)
pub fn pmul(&mut self, s: &FP2)
pub fn qmul(&mut self, s: &FP)
pub fn imul(&mut self, c: isize)
pub fn sqr(&mut self)
pub fn mul(&mut self, y: &FP4)
pub fn tostring(&mut self) -> String
pub fn to_hex(&self) -> String
pub fn from_hex_iter(iter: &mut SplitWhitespace<'_>) -> FP4
pub fn from_hex(val: String) -> FP4
pub fn inverse(&mut self)
pub fn times_i(&mut self)
pub fn frob(&mut self, f: &FP2)
pub fn pow(&self, e: &BIG) -> FP4
pub fn xtr_a(&mut self, w: &FP4, y: &FP4, z: &FP4)
pub fn xtr_d(&mut self)
pub fn xtr_pow(&self, n: &BIG) -> FP4
pub fn xtr_pow2(
&mut self,
ck: &FP4,
ckml: &FP4,
ckm2l: &FP4,
a: &BIG,
b: &BIG
) -> FP4
pub fn div2(&mut self)
pub fn div_i(&mut self)
pub fn div_2i(&mut self)
pub fn sqrt(&mut self) -> bool
Trait Implementations
impl Copy for FP4
Auto Trait Implementations
impl RefUnwindSafe for FP4
impl Send for FP4
impl Sync for FP4
impl Unpin for FP4
impl UnwindSafe for FP4
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more