binius_field::packed

Function get_packed_slice_unchecked

source
pub unsafe fn get_packed_slice_unchecked<P: PackedField>(
    packed: &[P],
    i: usize,
) -> P::Scalar
Expand description

Returns the scalar at the given index without bounds checking.

ยงSafety

The caller must ensure that i is less than P::WIDTH * packed.len().