polynomials-and-fft

Community

Fast, accurate polynomial multiplication with FFT.

AuthorArcadi4
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Polynomial multiplication is expensive in coefficient form; converting to a point-value representation via DFT/FFT enables fast convolution, provided padding, root-of-unity structure, and exactness considerations are properly managed.

Core Features & Use Cases

  • Efficient polynomial multiplication using the FFT pipeline: padding to an appropriate transform length, forward DFT, pointwise multiplication, inverse DFT, and result trimming.
  • Two representations: switch between coefficient form and a point-value form with evaluation points, ensuring consistent ordering of points.
  • Guidance on degree-bounds, root-of-unity requirements, and when exact vs floating-point accuracy is appropriate.
  • Use case examples: multiplying two degree-n polynomials, performing many-labeled convolutions, and reasoning about interpolation from roots of unity.

Quick Start

Multiply polynomials using FFT with proper padding and root-of-unity handling.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: polynomials-and-fft
Download link: https://github.com/Arcadi4/nerdy/archive/main.zip#polynomials-and-fft

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.