Skip to main content

Crate hekate_math

Crate hekate_math 

Source

Re-exports§

pub use fft::AdditiveFft;
pub use fft::CantorBasis;
pub use fft::FftError;

Modules§

fft
Additive FFT over GF(2^N) (Cantor basis).
matrix

Structs§

Bit
Block8
Field element GF(2^8).
Block16
Block32
Block64
Block128
Block256
Flat
A field element stored in the hardware / flat basis.
PackedBit
PackedBlock8
PackedBlock16
PackedBlock32
PackedBlock64
PackedBlock128
A SIMD register containing PACKED_WIDTH of Block128 elements. Force 32-byte alignment for AVX2 compatibility.
PackedBlock256
PackedFlat
A packed SIMD register storing hardware / flat-basis field elements.

Constants§

PACKED_WIDTH_8
PACKED_WIDTH_16
PACKED_WIDTH_32
PACKED_WIDTH_64
PACKED_WIDTH_128
PACKED_WIDTH_256
PACKED_WIDTH_BIT

Traits§

BinaryFieldExtras
Binary-field operations beyond core TowerField: Frobenius, absolute trace, and the Artin-Schreier solver underpinning the Cantor/FFT substrate.
CanonicalDeserialize
Defines how bytes are converted back to field elements. Standard: Little-Endian.
CanonicalSerialize
Defines how field elements are converted to bytes. Standard: Little-Endian.
FlatPromote
Trait to efficiently promote smaller flat-basis fields to a larger flat-basis field bypassing redundant zero-byte lookups.
HardwareField
Trait for Hardware Isomorphism acceleration.
PackableField
A trait linking a Field element to its SIMD packed representation.
TowerField