Struct amcl::fp4::FP4
[−]
[src]
pub struct FP4 { /* fields omitted */ }
Methods
impl FP4
[src]
fn new() -> FP4
fn new_int(a: isize) -> FP4
fn new_copy(x: &FP4) -> FP4
fn new_fp2s(c: &FP2, d: &FP2) -> FP4
fn new_fp2(c: &FP2) -> FP4
fn reduce(&mut self)
fn norm(&mut self)
fn iszilch(&mut self) -> bool
fn isunity(&mut self) -> bool
fn isreal(&mut self) -> bool
fn real(&mut self) -> FP2
fn geta(&mut self) -> FP2
fn getb(&mut self) -> FP2
fn equals(&mut self, x: &mut FP4) -> bool
fn copy(&mut self, x: &FP4)
fn zero(&mut self)
fn one(&mut self)
fn neg(&mut self)
fn conj(&mut self)
fn nconj(&mut self)
fn add(&mut self, x: &FP4)
fn padd(&mut self, x: &FP2)
fn dbl(&mut self)
fn sub(&mut self, x: &FP4)
fn pmul(&mut self, s: &mut FP2)
fn imul(&mut self, c: isize)
fn sqr(&mut self)
fn mul(&mut self, y: &mut FP4)
fn tostring(&mut self) -> String
fn to_hex(&self) -> String
fn from_hex_iter(iter: &mut SplitWhitespace) -> FP4
fn from_hex(val: String) -> FP4
fn inverse(&mut self)
fn times_i(&mut self)
fn frob(&mut self, f: &mut FP2)
fn pow(&mut self, e: &mut BIG) -> FP4
fn xtr_a(&mut self, w: &FP4, y: &FP4, z: &FP4)
fn xtr_d(&mut self)
fn xtr_pow(&mut self, n: &mut BIG) -> FP4
fn xtr_pow2(
&mut self,
ck: &FP4,
ckml: &FP4,
ckm2l: &FP4,
a: &mut BIG,
b: &mut BIG
) -> FP4
&mut self,
ck: &FP4,
ckml: &FP4,
ckm2l: &FP4,
a: &mut BIG,
b: &mut BIG
) -> FP4
Trait Implementations
impl Copy for FP4
[src]
impl Clone for FP4
[src]
fn clone(&self) -> FP4
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl PartialEq for FP4
[src]
fn eq(&self, other: &FP4) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.