VEX Dictionary / tr
tr
Returns the trace, the sum of diagonal elements, of a matrix.
group: mathmatrix
Available in every context
Usage
float tr(<matrix> m)
Examples
No worked examples yet.
Signatures (from vcc -X)
float tr(matrix2)all contextsfloat tr(matrix3)all contextsfloat tr(matrix)all contexts