Skip to main content

sparse_hstack

Function sparse_hstack 

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

Stack sparse matrices horizontally (column-wise).

All matrices must have the same number of rows.

ยงArguments

  • arrays - Slice of references to CsrArray matrices