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

Method eval

compressed_sigma/src/amortized_linear_form.rs:261–263  ·  view source on GitHub ↗
(&self, x: &[Fr])

Source from the content-addressed store, hash-verified

259
260 impl LinearForm<Fr> for TestLinearForm1 {
261 fn eval(&self, x: &[Fr]) -> Fr {
262 x.iter().fold(Fr::zero(), |accum, item| accum + item)
263 }
264
265 fn scale(&self, _scalar: &Fr) -> Self {
266 TestLinearForm1 {}

Callers 15

newMethod · 0.45
is_validMethod · 0.45
checkFunction · 0.45
newMethod · 0.45
is_validMethod · 0.45
amortizationFunction · 0.45
newMethod · 0.45
is_validMethod · 0.45
checkFunction · 0.45

Calls 1

iterMethod · 0.45