Skip to content

Latest commit

 

History

History
19 lines (11 loc) · 507 Bytes

File metadata and controls

19 lines (11 loc) · 507 Bytes

Home > @josh-brown/vector > Matrix > getDiagonal

Matrix.getDiagonal() method

Returns a vector containing the elements of the main diagonal of the matrix

Signature:

getDiagonal(): Vector<S>;

Returns:

Vector<S>

The vector of diagonal entries