Home > @josh-brown/vector > SparseMatrix > trace
Returns the trace of the matrix
Signature:
trace(): S;Returns:
S
The trace
The trace of a matrix is the sum of the entries along the main diagonal
Home > @josh-brown/vector > SparseMatrix > trace
Returns the trace of the matrix
Signature:
trace(): S;Returns:
S
The trace
The trace of a matrix is the sum of the entries along the main diagonal