Module ark_r1cs_std::select

source ·
Expand description

This module describes traits for conditionally selecting a variable from a list of variables.

Traits

Generates constraints for selecting between one of two values.
Uses three bits to perform a lookup into a table, where the last bit conditionally negates the looked-up value.
Performs a lookup in a 4-element table using two bits.