jit.la.trace Calculate the sum across the main diagonal

The jit.la.trace object calculates the sum across the main diagonal of a given input matrix, and send the result out the leftmost outlet. The input matrix must have type float32 or float64, and may have planecount 1 or 2. If the input matrix has a planecount of 2, it is assumed that the data is from the set of complex numbers, and the output sum is a list of 2 floating point values. The first element is the real component and the second element is the imaginary component.

Matrix Operator: in[1] out[0]
Name IOProc Planelink Typelink Dimlink Plane Dim Type
in n/a n/a n/a n/a n/a n/a n/a

Example:

See Also:
jit.la.determinant, jit.la.diagproduct, jit.la.inverse, jit.la.mult, jit.la.uppertri