Function extendr_api::prelude::linalg::kron

source ·
pub fn kron<A, S1, S2>(
    a: &ArrayBase<S1, Dim<[usize; 2]>>,
    b: &ArrayBase<S2, Dim<[usize; 2]>>
) -> ArrayBase<OwnedRepr<A>, Dim<[usize; 2]>>
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.