Skip to main content

sparse_vstack

Function sparse_vstack 

Source
pub fn sparse_vstack<T>(arrays: &[&CsrArray<T>]) -> SparseResult<CsrArray<T>>
where T: Float + SparseElement + Div<Output = T> + Debug + Copy + 'static,
Expand description

Stack sparse matrices vertically (row-wise).

All matrices must have the same number of columns.

ยงArguments

  • arrays - Slice of references to CsrArray matrices