kronecker#

ivy.kronecker(x, skip_matrix=None, reverse=False, out=None)[source]#

Kronecker product of a list of matrices.

Parameters:
  • x (Sequence[Union[Array, NativeArray]]) – Sequence of matrices

  • skip_matrix (Optional[int], default: None) – if not None, index of a matrix to skip

  • reverse (Optional[bool], default: False) – if True, the order of the matrices is reversed

Return type:

Array

Returns:

kronecker_product (matrix of shape (prod(n_rows), prod(n_columns)) – where prod(n_rows) = prod([m.shape[0] for m in matrices]) and prod(n_columns) = prod([m.shape[1] for m in matrices])