[−][src]Struct amcl_wrapper::ECCurve::fp4::FP4
Implementations
impl FP4
[src]
pub const fn new() -> FP4
[src]
pub fn new_int(a: isize) -> FP4
[src]
pub fn new_ints(a: isize, b: isize) -> FP4
[src]
pub fn new_copy(x: &FP4) -> FP4
[src]
pub fn new_fp2s(c: &FP2, d: &FP2) -> FP4
[src]
pub fn new_fp2(c: &FP2) -> FP4
[src]
pub fn new_fp(c: &FP) -> FP4
[src]
pub fn new_rand(rng: &mut RAND) -> FP4
[src]
pub fn set_fp2s(&mut self, c: &FP2, d: &FP2)
[src]
pub fn set_fp(&mut self, c: &FP)
[src]
pub fn set_fp2(&mut self, c: &FP2)
[src]
pub fn set_fp2h(&mut self, c: &FP2)
[src]
pub fn reduce(&mut self)
[src]
pub fn norm(&mut self)
[src]
pub fn cmove(&mut self, g: &FP4, d: isize)
[src]
pub fn iszilch(&self) -> bool
[src]
pub fn isunity(&self) -> bool
[src]
pub fn isreal(&mut self) -> bool
[src]
pub fn real(&self) -> FP2
[src]
pub fn geta(&self) -> FP2
[src]
pub fn getb(&self) -> FP2
[src]
pub fn equals(&self, x: &FP4) -> bool
[src]
pub fn copy(&mut self, x: &FP4)
[src]
pub fn zero(&mut self)
[src]
pub fn one(&mut self)
[src]
pub fn sign(&self) -> isize
[src]
pub fn neg(&mut self)
[src]
pub fn conj(&mut self)
[src]
pub fn nconj(&mut self)
[src]
pub fn add(&mut self, x: &FP4)
[src]
pub fn padd(&mut self, x: &FP2)
[src]
pub fn dbl(&mut self)
[src]
pub fn sub(&mut self, x: &FP4)
[src]
pub fn rsub(&mut self, x: &FP4)
[src]
pub fn pmul(&mut self, s: &FP2)
[src]
pub fn qmul(&mut self, s: &FP)
[src]
pub fn imul(&mut self, c: isize)
[src]
pub fn sqr(&mut self)
[src]
pub fn mul(&mut self, y: &FP4)
[src]
pub fn tostring(&self) -> String
[src]
pub fn inverse(&mut self)
[src]
pub fn times_i(&mut self)
[src]
pub fn frob(&mut self, f: &FP2)
[src]
pub fn xtr_a(&mut self, w: &FP4, y: &FP4, z: &FP4)
[src]
pub fn xtr_d(&mut self)
[src]
pub fn xtr_pow(&self, n: &BIG) -> FP4
[src]
pub fn xtr_pow2(
&mut self,
ck: &FP4,
ckml: &FP4,
ckm2l: &FP4,
a: &BIG,
b: &BIG
) -> FP4
[src]
&mut self,
ck: &FP4,
ckml: &FP4,
ckm2l: &FP4,
a: &BIG,
b: &BIG
) -> FP4
pub fn div2(&mut self)
[src]
pub fn div_i(&mut self)
[src]
pub fn qr(&mut self) -> isize
[src]
pub fn sqrt(&mut self)
[src]
Trait Implementations
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
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,