finitefields
Allows to perform simple algebraic operations over a finite field
Arguments
value
- number be represented asvalue % modulo
modulo
- An integer corresponding to the size of the modular space. For this to be a finite field it must be a prime number!
Operations
- addition
- subtraction
- multiplication
- division
- inversion
Examples
// Simple operations within a finite field
use ;