pub struct Naive;
Expand description
Naive algorithm
Computes multiscalar multiplication naively, by calculating each $s_i P_i$ separately, and $\sum$-ing them.
Complexity:
$$\text{cost} = \log_2 s \cdot D + \frac{1}{2} \log_2 s \cdot A$$
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Naive
impl RefUnwindSafe for Naive
impl Send for Naive
impl Sync for Naive
impl Unpin for Naive
impl UnwindSafe for Naive
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