Module sp1_core::operations
source · Expand description
Operations implement common operations on sets of columns.
They should always implement aim to implement populate and eval methods. The populate
method is used to populate the columns with values, while the eval method is used to evaluate
the constraints.
Modules§
Structs§
- A set of columns needed to compute the add of four words.
- A set of columns needed to compute the sum of five words.
- A set of columns needed to compute the add of two words.
- A set of columns needed to compute the and of two words.
- Operation columns for verifying that an element is within the range
[0, modulus). - Operation columns for verifying that an element is within the range
[0, modulus). - A set of columns needed to compute the add of two words.
- A set of columns needed to compute
rotaterightof a word with a fixed offset R. - A set of columns needed to compute
>>of a word with a fixed offset R. - A set of columns needed to compute the equality of two words.
- A set of columns needed to compute whether the given word is 0.
- A set of columns needed to compute whether the given word is 0.
- A set of columns needed to compute the not of a word.
- A set of columns needed to compute the or of two words.
- A set of columns needed to compute the xor of two words.