Returns the trace of a square matrix (sum of diagonal elements).
Aliases: TR
| |
|---|
| Category | Matrix |
| Syntax | TRACE(matrix) |
Parameters
| Parameter | Required | Description |
|---|
matrix | Required | A square matrix. |
Example
Auto-generated from the EngCanvas function registry.