'identity()'

identity()

Information

This information is part of the Modelica Standard Library maintained by the Modelica Association.

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.