binius_field::packed

Function set_packed_slice_unchecked

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

Sets the scalar at the given index without bounds checking.

ยงSafety

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