Function sprs::assign_to_dense

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

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.