↓ 6 callersFunctionsub_indexGiven i as a number in its binary representation, i.e. i = (1,x), return (x,0) and (x,1) For example, given i=26=b11010, return b10100=20 and b10101=2
dist-primitive/src/dacc_product.rs:18
↓ 5 callersFunctionacc_productA monolithic implementation of the functionality. Given evaluations of f(x) for x in the hypercube, Returns the shares or v(x,0),v(x,1),v(1,x). s.t.,
dist-primitive/src/dacc_product.rs:30
↓ 3 callersFunctionc_acc_product_and_shareGiven pss of evaluations of f, Returns the shares or v(x,0),v(x,1),v(1,x). s.t., v(0,x) = f(x), v(1,x) = v(x,0) * v(x,1). v(1,1,..,1) will be set to 0
dist-primitive/src/dacc_product.rs:66