14 linear_combination<libff::Fr<libff::default_ec_pp>>
18 typedef libff::Fr<libff::default_ec_pp> FieldT;
22 for (
const GLA::linear_term_t < : lc.first) {
29 r1cs_constraint_system<libff::Fr<libff::default_ec_pp>>
32 typedef libff::Fr<libff::default_ec_pp> FieldT;
38 GLA::protoboard_t converted_pb = adapter.
convert(pb);
39 for (
const GLA::constraint_t &constr : converted_pb.first) {
49 const size_t num_variables = GLA::getNextFreeIndex();
55 r1cs_variable_assignment<libff::Fr<libff::default_ec_pp>>
58 typedef libff::Fr<libff::default_ec_pp> FieldT;
66 const size_t num_vars = GLA::getNextFreeIndex();
73 for (VariableAssignment::iterator iter = assignment.begin();
74 iter != assignment.end();
76 result[GLA::getVariableIndex(iter->first)] =
77 adapter.convert(iter->second);