Archived
1
2
Fork
You've already forked polycode
0
🧮 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.
Rust 100%
2024年11月15日 23:22:31 +01:00
src Parallelize with rayon 2024年11月15日 23:21:22 +01:00
.gitignore Initial commit 2024年11月15日 10:49:06 +01:00
Cargo.lock Parallelize with rayon 2024年11月15日 23:21:22 +01:00
Cargo.toml Parallelize with rayon 2024年11月15日 23:21:22 +01:00
LICENSE Add LICENSE 2024年11月15日 15:34:25 +01:00
README.md Fix broken README.md 2024年11月15日 23:22:31 +01:00

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.
  • gmp
  • mpfr
  • mpc

Build Instructions

cargo build --release