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


Calculate the product across the main diagonal


The jit.la.diagproduct object calculates the product 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 product 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


Name Type g/s Description

Information for box attributes common to all objects


See Also

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