logo
pub fn kron<A, S1, S2>(
    a: &ArrayBase<S1, Ix2>,
    b: &ArrayBase<S2, Ix2>
) -> Array<A, Ix2> where
    S1: Data<Elem = A>,
    S2: Data<Elem = A>,
    A: LinalgScalar
Expand description

Kronecker product of 2D matrices.

The kronecker product of a LxN matrix A and a MxR matrix B is a (LM)x(NR) matrix K formed by the block multiplication A_ij * B.