Function arrayfire::sparse_from_dense
[−]
[src]
pub fn sparse_from_dense(dense: &Array, format: SparseFormat) -> Array
Convert dense array to sparse array
Parameters
dense
is the dense format arrayformat
is the target sparse format
Return Values
Sparse Array