Find trace of a matrix
Filed under Societe Generale
The question
Compute the trace (sum of the main diagonal elements) of a given square matrix.
No write-up yet. Related questions below have one.
Related Societe Generale questions
Collected from public candidate posts and coding forums. Updated Nov 2026.