MCPcopy Create free account
hub / github.com/docknetwork/crypto / multiply

Method multiply

utils/src/msm.rs:33–35  ·  view source on GitHub ↗

Multiply with a single scalar

(&self, element: &G::ScalarField)

Source from the content-addressed store, hash-verified

31
32 /// Multiply with a single scalar
33 pub fn multiply(&self, element: &G::ScalarField) -> G {
34 FixedBase::windowed_mul(self.num_windows, self.window_size, &self.table, element)
35 }
36
37 /// Multiply with a many scalars
38 pub fn multiply_many(&self, elements: &[G::ScalarField]) -> Vec<G> {

Calls

no outgoing calls

Tested by 1

timing_ark_opsFunction · 0.64