Calculate the sum across the main diagonalThe 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.

page : 1

4833 objects and 135 libraries within the database