Skip to main content

Module util

Module util 

Source

Traits§

FieldFn
An arithmetic function over field elements, generic in the field it evaluates in.

Functions§

expand_subset_sums_array
Expands an array of field elements into all possible subset sums.
expand_subset_xors
Expands elems into all 2^N subset XOR combinations, indexed by subset bitmask.
powers
Iterate the powers of a given value, beginning with 1 (the 0’th power).