pub struct GAf64;Expand description
Addition group over float.
Trait Implementations§
Source§impl Group for GAf64
impl Group for GAf64
Source§fn eq(&self, a: &Self::Item, b: &Self::Item) -> bool
fn eq(&self, a: &Self::Item, b: &Self::Item) -> bool
Perform the equity operation in the group.
Source§fn add(&self, a: &Self::Item, b: &Self::Item) -> Self::Item
fn add(&self, a: &Self::Item, b: &Self::Item) -> Self::Item
Perform addition operation in the group.
Source§fn sub(&self, a: &Self::Item, b: &Self::Item) -> Self::Item
fn sub(&self, a: &Self::Item, b: &Self::Item) -> Self::Item
Perform
sub operation. By default it is implemented through
add and neg but it can be overridden for optimization purposes.Source§fn mul_scalar<I>(&self, a: &Self::Item, bits_iter: I) -> Self::Item
fn mul_scalar<I>(&self, a: &Self::Item, bits_iter: I) -> Self::Item
Perform multiplication in the group by a scalar given as an iterator
of bits according to the double and add algorithm.
Source§fn add_assign(&self, a: &mut Self::Item, b: &Self::Item)
fn add_assign(&self, a: &mut Self::Item, b: &Self::Item)
Perform
add_assign operation. By default it is implemented through
add but it can be overridden for optimization purposes.Source§fn sub_assign(&self, a: &mut Self::Item, b: &Self::Item)
fn sub_assign(&self, a: &mut Self::Item, b: &Self::Item)
Perform
sub_assign operation. By default it is implemented through
sub but it can be overridden for optimization purposes.Source§fn neg_assign(&self, a: &mut Self::Item)
fn neg_assign(&self, a: &mut Self::Item)
Perform
neg_assign operation. By default it is implemented through
neg but it can be overridden for optimization purposes.Auto Trait Implementations§
impl Freeze for GAf64
impl RefUnwindSafe for GAf64
impl Send for GAf64
impl Sync for GAf64
impl Unpin for GAf64
impl UnwindSafe for GAf64
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more