HP Prime for All
English
Русский
News
Hardware
Articles
Docs
HP Apps
Software
Docs
:
Commands
:
diag
Syntax
diag(Lst(l)||Mtrx(A))
Description
Returns either the diagonal matrix with diagonal l or the diagonal of A.
Example
diag([1,2],[3,4]) returns [1,4]
diag — Discussion
↑Back to top