HP Prime for All

English  Русский 

Syntax

identity(Intg(n))

Description

Returns the identity matrix of specified dimension n.

Example

identity(3) returns [[1,0,0],[0,1,0],[0,0,1]]

identity — Discussion