File tree Expand file tree Collapse file tree 1 file changed +11
-3
lines changed
crates/leanVm/src/witness Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Original file line number Diff line number Diff line change 11use crate :: { constant:: EF , memory:: address:: MemoryAddress } ;
22
3+ /// Holds the high-level witness data for a single multilinear evaluation precompile.
34#[ derive( Debug ) ]
45pub struct WitnessMultilinearEval {
6+ /// The CPU cycle at which this operation is initiated.
57 pub cycle : usize ,
6- pub addr_coeffs : MemoryAddress , // vectorized pointer, of size 8.2^size
7- pub addr_point : MemoryAddress , // vectorized pointer, of size `size`
8- pub addr_res : MemoryAddress , // vectorized pointer
8+ /// The memory address of the polynomial's coefficients.
9+ pub addr_coeffs : MemoryAddress ,
10+ /// The memory address of the evaluation point's coordinates.
11+ pub addr_point : MemoryAddress ,
12+ /// The memory address where the final result is stored.
13+ pub addr_res : MemoryAddress ,
14+ /// The number of variables in the multilinear polynomial.
915 pub n_vars : usize ,
16+ /// The coordinates of the evaluation point.
1017 pub point : Vec < EF > ,
18+ /// The final computed result of the evaluation.
1119 pub res : EF ,
1220}
You can’t perform that action at this time.
0 commit comments