A newer version of Max is available. Click here to access the latest version of this document.

jit.la.trace

Calculate the sum across the main diagonal

Description

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 typefloat32 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

matrix inputs:1, matrix outputs:0
Name IOProc Planelink Typelink Dimlink Plane Dim Type

Information for Jitter Matrix Operator (MOP) messages and attributes to this object

Attributes

Name Type g/s Description

Information for box attributes common to all objects

Examples

See Also

Name Description
jit.la.determinant Calculate the determinant of a matrix
jit.la.diagproduct Calculate the product across the main diagonal
jit.la.inverse Calculate the inverse of a matrix
jit.la.mult True matrix multiplication
jit.la.uppertri Convert a matrix into an upper triangular matrix