Compute the determinant of a Kronecker product.
If KP is the Kronecker product of the n-by-n matrix A and the q-by-q matrix B, then the determinant is computed as
det (A)^q * det (B)^n
If KP is not a Kronecker product of square matrices the determinant is computed by forming the full matrix and then computing the determinant.
See also: det, @kronprod/trace, @kronprod/rank, @kronprod/full.
Package: linear-algebra