forked from sagemath/sage
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sagemathgh-36456: implement .interpolation() method for ProductTree
The `ProductTree` class has a `.remainders()` method which can, among other things, be used to implement the Fast Fourier Transform. In this patch we add a corresponding `.interpolation()` method, which can, among other things, be used to implement the *inverse* Fast Fourier Transform. Its functionality is equivalent to `CRT_list()`, but caching the product-tree structure makes it significantly faster for repeated invocations. URL: sagemath#36456 Reported by: Lorenz Panny Reviewer(s): Kwankyu Lee
- Loading branch information
Showing
1 changed file
with
57 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters