Skip to content

Commit

Permalink
chore: clarify domain_order (#220)
Browse files Browse the repository at this point in the history
  • Loading branch information
kevaundray authored Aug 15, 2024
1 parent cc06254 commit 5e7b8c1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cryptography/kzg_multi_open/src/fk20/cosets.rs
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,10 @@ pub fn coset_gens(num_points: usize, num_cosets: usize, bit_reversed: bool) -> V

/// Given a group of coset evaluations, this method will return/reorder the evaluations as if
/// we evaluated them on the relevant extended domain.
///
/// Note: `domain_order` refers to the order that the evaluations would be in, if they were evaluated on
/// the roots of unity. This is different to the order that we return them in; bit-reversed order.
///
/// The coset indices returned can be used to locate the coset_evaluations in the new flattened order:
/// - The idea is that a particular coset evaluation is evenly distributed across the set of flattened
/// evaluations.
Expand Down

0 comments on commit 5e7b8c1

Please sign in to comment.