Skip to main content

Crate p3_matrix

Crate p3_matrix 

Source
Expand description

§p3-matrix

A matrix library for finite-field elements, centered on the Matrix trait and the dense row-major implementation RowMajorMatrix used to store execution traces and LDEs.

Key items:

  • Matrix — the core trait, with packed-row access for SIMD-friendly iteration
  • denseRowMajorMatrix and borrowed/mutable views
  • bitrev, row_index_mapped, stack, strided, horizontally_truncated — lazy index-remapping and composition wrappers
  • extension, interpolation, util — extension-field flattening and evaluation helpers

Part of Plonky3, dual-licensed under MIT and Apache 2.0.

Modules§

bitrev
dense
extension
horizontally_truncated
interpolation
Lagrange interpolation over structured (two-adic coset) and arbitrary evaluation domains.
row_index_mapped
stack
strided
util

Structs§

Dimensions
A simple struct representing the shape of a matrix.

Traits§

Matrix
A generic trait for two-dimensional matrix-like data structures.