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

Method coefficient

vb_accumulator/src/batch_utils.rs:706–708  ·  view source on GitHub ↗

Coefficient (`c_i`) at the _ith_ position

(&self, i: usize)

Source from the content-addressed store, hash-verified

704
705 /// Coefficient (`c_i`) at the _ith_ position
706 pub fn coefficient(&self, i: usize) -> &G {
707 &self.0[i]
708 }
709
710 pub fn from(coeffs: Vec<G>) -> Self {
711 Self(coeffs)

Calls

no outgoing calls

Tested by

no test coverage detected