[][src]Function arrayfire::sparse_from_dense

pub fn sparse_from_dense<T>(dense: &Array<T>, format: SparseFormat) -> Array<T> where
    T: HasAfEnum + FloatingPoint

Convert dense array to sparse array

Parameters

Return Values

Sparse Array