Function sprs::assign_to_dense[][src]

pub fn assign_to_dense<N, I, Iptr>(
    array: ArrayViewMut<'_, N, Ix2>,
    spmat: CsMatViewI<'_, N, I, Iptr>
) where
    N: Clone,
    I: SpIndex,
    Iptr: SpIndex

Assign a sparse matrix into a dense matrix

The dense matrix will not be zeroed prior to assignment, so existing values not corresponding to non-zeroes will be preserved.