.ModelicaReference.Operators.'identity()'

identity()

Information

Returns the identity matrix of the desired size

Syntax

identity(n)

Description

Returns the n x n Integer identity matrix, with ones on the diagonal and zeros at the other places.


Generated at 2026-04-04T18:18:28Z by OpenModelicaOpenModelica 1.26.3 using GenerateDoc.mos