fixed-polynomial

Crates.iofixed-polynomial
lib.rsfixed-polynomial
version0.1.0
sourcesrc
created_at2023-04-15 16:55:32.456488
updated_at2023-04-15 16:55:32.456488
descriptionPolynomial arithmetic functions with compile-time degree checks
homepage
repositoryhttps://github.com/MavenRain/fixed-polynomial
max_upload_size
id840043
size15,587
Onyeka Obi (MavenRain)

documentation

README

Description

This repo contains a library for performing polynomial arithmetic in a way that allows for compile-time checking of degree constraints for each arithmetic operation. What that means is that polynomials are constructed as arrays of fixed lengths depending on the degree, and any attempt to perform an operation on polynomials of incorrect sizes will cause compiler errors.

How to Build

cargo build

How to Test

cargo test

Examples

See unit tests in tests module.

Commit count: 6

cargo fmt