Structs§
- Binomial
- Marker for the binomial reducer
X^D - W(degree-generic). - Cubic
Trinomial - Marker for the trinomial reducer
X^3 - X - 1. - ExtField
- Unified extension-field representation.
- Packed
ExtField - Unified packed extension-field representation (SIMD-lane parallel).
- Quintic
Trinomial - Marker for the trinomial reducer
X^5 + X^2 - 1.
Traits§
- Binomially
Extendable - Trait for fields that support binomial extension of the form
F[X]/(X^D - W). - Complex
Extendable - A field for which
p = 3 (mod 4). Equivalently,-1is not a square, so the complex extension can be definedF[i] = F[X]/(X^2+1). - Cubic
Trinomial Extendable - Trait for fields that support a degree-3 extension using the trinomial
X^3 - X - 1. - Extension
Algebra - Algebra over
Fthat supports degree-Dextension arithmetic with a given reducerShape. - Extension
Shape - Sealed marker for the reducing polynomial shape of an extension field.
- HasComplex
Binomial Extension - The complex extension of this field has a binomial extension.
- HasFrobenius
- Trait for extension fields that support Frobenius automorphisms.
- HasTwo
Adic Binomial Extension - Trait for binomial extensions that support a two-adic subgroup generator.
- HasTwo
Adic Complex Binomial Extension - The complex extension of this field has a two-adic binomial extension.
- HasTwo
Adic Cubic Extension - Trait for cubic trinomial extensions that expose two-adic subgroup generators.
- HasTwo
Adic Quintic Extension - Trait for quintic extensions that support two-adic subgroup generators.
- Quintic
Trinomial Extendable - Trait for fields that support a degree-5 extension using the trinomial
X^5 + X^2 - 1.
Functions§
- binomial_
mul - Multiply two vectors representing elements in a binomial extension.
- binomial_
square - Square a vector representing an element in a binomial extension.
- cubic_
square - octic_
mul - Multiplication in an octic binomial extension field.
- quartic_
mul - Multiplication in a quartic binomial extension field.
- quintic_
mul - Multiplication in a quintic binomial extension field.
- quintic_
square - Square an element in the quintic extension field.
- trinomial_
cubic_ mul - Multiply in
R[X]/(X^3 - X - 1). - trinomial_
quintic_ mul - Multiply two elements in the quintic trinomial extension field (X^5 + X^2 - 1).
- vector_
add - Add two vectors element wise.
- vector_
sub - Subtract two vectors element wise.
Type Aliases§
- Binomial
Extension Field - Binomial extension field
F[X] / (X^D - W). - Complex
- Cubic
Trinomial Extension Field - A degree-3 extension field using
X^3 - X - 1. - Packed
Binomial Extension Field - Packed binomial extension field
F[X] / (X^D - W), one element per SIMD lane. - Packed
Cubic Trinomial Extension Field - Packed cubic extension field, one element per SIMD lane.
- Packed
Quintic Trinomial Extension Field - Packed quintic extension field, one element per SIMD lane.
- Quintic
Trinomial Extension Field - A degree-5 extension field using the trinomial
X^5 + X^2 - 1.