p3_field::extension

Trait BinomiallyExtendable

Source
pub trait BinomiallyExtendable<const D: usize>: Field {
    const W: Self;
    const DTH_ROOT: Self;
    const EXT_GENERATOR: [Self; D];
}
Expand description

Binomial extension field trait.

This exists if the polynomial ring F[X] has an irreducible polynomial X^d-W allowing us to define the binomial extension field F[X]/(X^d-W).

Required Associated Constants§

Source

const W: Self

Source

const DTH_ROOT: Self

Source

const EXT_GENERATOR: [Self; D]

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<F, const D: usize> BinomiallyExtendable<D> for Complex<F>

Source§

const W: Self = _

Source§

const DTH_ROOT: Self = _

Source§

const EXT_GENERATOR: [Self; D] = F::EXT_GENERATOR

Source§

impl<F: ComplexExtendable> BinomiallyExtendable<2> for F

Source§

const W: Self = F::NEG_ONE

Source§

const DTH_ROOT: Self = F::NEG_ONE

Source§

const EXT_GENERATOR: [Self; 2] = _