pub fn pack<T: Packable>(
input: &[T],
width: usize,
output: &mut [T],
) -> Result<()>Expand description
Packs a vector given in row order, transposing it first.
The engine does not use this. Data written by the storage layer is transposed once on the way in and stays that way, per the module documentation. This exists for tests, for the format lab, and for the one place that has to hand back a vector in the order the user gave it.
ยงErrors
As pack_transposed.