p3_poseidon2

Function sum_23

Source
pub fn sum_23<AF: AbstractField + Copy>(state: &[AF]) -> AF
Expand description

The compiler doesn’t realize that add is associative so we help it out and minimize the dependency chains by hand.