.ModelicaReference.Operators.'diagonal()'

Information

Returns a diagonal matrix

Syntax

diagonal(v)

Description

Returns a square matrix with the elements of vector v on the diagonal and all other elements zero.


Generated at 2020-07-12T01:53:50Z by OpenModelicaOpenModelica 1.16.0~dev-548-gd3091d6 using GenerateDoc.mos