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

Method eval

vb_accumulator/src/batch_utils.rs:96–98  ·  view source on GitHub ↗

Evaluate this polynomial at `x`

(&self, x: &F)

Source from the content-addressed store, hash-verified

94
95 /// Evaluate this polynomial at `x`
96 pub fn eval(&self, x: &F) -> F {
97 self.0.evaluate(x)
98 }
99
100 /// Evaluation of polynomial without creating the polynomial as the variable is already known.
101 /// Returns `(updates[0]-x)*(updates[1]-x)*(updates[2]-x)*...(updates[n]-x)`

Callers

nothing calls this directly

Calls 1

evaluateMethod · 0.80

Tested by

no test coverage detected