pub fn block<T: Element>(
blocks: &[Vec<Array<T, IxDyn>>],
) -> FerrayResult<Array<T, IxDyn>>Expand description
Assemble an array from nested blocks.
Simplified version: takes a 2-D grid of arrays (as Vec<Vec<…>>) and assembles them by stacking rows horizontally, then all rows vertically.
Analogous to numpy.block().
§Errors
Returns errors on shape mismatches.