The Octave Forge package repository is no longer actively maintained. Please find Octave Packages at https://packages.octave.org.

Navigation

Operators and Keywords

Function List:

C++ API

Function File: trace ( KP)

Returns the trace of the Kronecker product KP.

If KP is a Kronecker product of two square matrices, the trace is computed as the product of the trace of these two matrices. Otherwise the trace is computed by forming the full matrix.

See also: @kronprod/det, @kronprod/rank, @kronprod/full.

Package: linear-algebra