Diagonal matrix
Example
Diagonal vector:
The Offset of the triangular matrix is:
V =
The length of diagonal vector: