shakes76 / finite-transform-library Goto Github PK
View Code? Open in Web Editor NEWFast transforms over finite fields
Fast transforms over finite fields
From your (rather well-written) article "Fast Digital Convolutions using Bit-Shifts”, I understand that I can use a Rader prime as modulus in a Number Theoretic Transform, and apply a number theoretic transform with a power of 2 (which allows for convenient bitshifting), as when using a Fermat number as modulus.
You cite [R. Agarwal and C. Burrus, 1974] and [Leibowitz, 1976] for a computational implementation. They use a diminished-1 implementation, but their implementation seems only geared toward moduli that are Fermat numbers.
The Rader prime is not a Fermat number, but you seem to imply that an implementation for using Rader prime moduli is analogous to that of Fermat numbers. As this logic is not evident to me, I was wondering if you could help me by shedding some light on how addition, bitshift and multiplication is performed when using Rader prime moduli in the number theoretic transform.
For instance, how would these operations be executed when the modulus is selected as the Rader prime 641 (which is a factor of F5)?
The readme states " Lesser GNU Public License v3" but most other license statements do not say "Lesser" or "LGPL".
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.