Struct snarkvm_wasm::FixedBaseMSM [−][src]
pub struct FixedBaseMSM;
Implementations
impl FixedBaseMSM
[src]
impl FixedBaseMSM
[src]pub fn get_mul_window_size(num_scalars: usize) -> usize
[src]
pub fn get_window_table<T>(
scalar_size: usize,
window: usize,
g: T
) -> Vec<Vec<T, Global>, Global> where
T: ProjectiveCurve,
[src]
scalar_size: usize,
window: usize,
g: T
) -> Vec<Vec<T, Global>, Global> where
T: ProjectiveCurve,
pub fn windowed_mul<T>(
outerc: usize,
window: usize,
multiples_of_g: &[Vec<T, Global>],
scalar: &<T as ProjectiveCurve>::ScalarField
) -> T where
T: ProjectiveCurve,
[src]
outerc: usize,
window: usize,
multiples_of_g: &[Vec<T, Global>],
scalar: &<T as ProjectiveCurve>::ScalarField
) -> T where
T: ProjectiveCurve,
pub fn multi_scalar_mul<T>(
scalar_size: usize,
window: usize,
table: &[Vec<T, Global>],
v: &[<T as ProjectiveCurve>::ScalarField]
) -> Vec<T, Global> where
T: ProjectiveCurve,
[src]
scalar_size: usize,
window: usize,
table: &[Vec<T, Global>],
v: &[<T as ProjectiveCurve>::ScalarField]
) -> Vec<T, Global> where
T: ProjectiveCurve,
Auto Trait Implementations
impl RefUnwindSafe for FixedBaseMSM
impl Send for FixedBaseMSM
impl Sync for FixedBaseMSM
impl Unpin for FixedBaseMSM
impl UnwindSafe for FixedBaseMSM
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Pointable for T
impl<T> Pointable for T
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
type Output = T
Should always be Self
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,