Skip to content

Latest commit

 

History

History
23 lines (13 loc) · 485 Bytes

File metadata and controls

23 lines (13 loc) · 485 Bytes

Home > @josh-brown/vector > FloatMatrix > trace

FloatMatrix.trace() method

Returns the trace of the matrix

Signature:

trace(): number;

Returns:

number

The trace

Remarks

The trace of a matrix is the sum of the entries along the main diagonal