[][src]Function sprs::kronecker_product

#[must_use]pub fn kronecker_product<N: Num + Copy + Default, I: SpIndex, Iptr: SpIndex>(
    a: CsMatViewI<'_, N, I, Iptr>,
    b: CsMatViewI<'_, N, I, Iptr>
) -> CsMatI<N, I, Iptr>

Compute the Kronecker product between two matrices

The storage order of the product will be based on the first matrix. This method will perform a clone if the two matrices have different storage order

Panics

  • if indices are out of bounds for its type