Add TODO for barycentric formula special case

This commit is contained in:
Dankrad Feist 2022-09-17 07:23:00 +01:00
parent 12c3cb7645
commit 279eb5b514
No known key found for this signature in database
GPG Key ID: 6815E6A20BEBBABA
1 changed files with 2 additions and 0 deletions

View File

@ -103,6 +103,8 @@ void eval_poly(fr_t *out, const poly *p, const fr_t *x) {
} }
// TODO: optimize via batch inversion // TODO: optimize via batch inversion
// TODO: Consider the case where x is one of the roots of unity
// (needs special formula)
void eval_poly_l(fr_t *out, const poly_l *p, const fr_t *x, const FFTSettings *fs) { void eval_poly_l(fr_t *out, const poly_l *p, const fr_t *x, const FFTSettings *fs) {
fr_t tmp; fr_t tmp;
uint64_t i; uint64_t i;