🧮 Encode/Interpolate a binary file as a rational polynomial function
This repository has been archived on 2025年12月14日 . You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
| src | Parallelize with rayon | |
| .gitignore | Initial commit | |
| Cargo.lock | Parallelize with rayon | |
| Cargo.toml | Parallelize with rayon | |
| LICENSE | Add LICENSE | |
| README.md | Fix broken README.md | |
polycode
Usage
$ echo -n "meow" | polycode --verbose --file /dev/stdin
(109) * 1 + (-8) * 1 * (x - 0) + (9) * 1 * (x - 0) * (x - 1) + (-10/3) * 1 * (x - 0) * (x - 1) * (x - 2)
About
polycode is a program that allows you to encode arbitrary binary files as a rational polynomial function, using Newton's interpolation and divided differences.
Requirements
- A decently modern Rust toolchain.
gmpmpfrmpc
Build Instructions
cargo build --release