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 matricesskip_matrix (
Optional[int], default:None) – if not None, index of a matrix to skipreverse (
Optional[bool], default:False) – if True, the order of the matrices is reversed
- Return type:
- Returns:
kronecker_product (matrix of shape
(prod(n_rows), prod(n_columns)) – whereprod(n_rows) = prod([m.shape[0] for m in matrices])andprod(n_columns) = prod([m.shape[1] for m in matrices])