Zeth - Zerocash on Ethereum
0.8
Reference implementation of the Zeth protocol by Clearmatics
|
#include <evaluator_from_lagrange.hpp>
Public Member Functions | |
evaluator_from_lagrange (const std::vector< GroupT > &powers, libfqfft::evaluation_domain< libff::Fr< ppT >> &domain) | |
GroupT | evaluate_from_lagrange_factors (const std::map< size_t, libff::Fr< ppT >> &lagrange_factors) |
Given a sequence of powers of x (with some factor) encoded in GroupT, compute the values of various linear combination of Lagrange polynomials at x. Note that this is not optimal, and primarily intended for testing and validation.
Definition at line 19 of file evaluator_from_lagrange.hpp.
libzeth::evaluator_from_lagrange< ppT, GroupT >::evaluator_from_lagrange | ( | const std::vector< GroupT > & | powers, |
libfqfft::evaluation_domain< libff::Fr< ppT >> & | domain | ||
) |
GroupT libzeth::evaluator_from_lagrange< ppT, GroupT >::evaluate_from_lagrange_factors | ( | const std::map< size_t, libff::Fr< ppT >> & | lagrange_factors | ) |