WOLFRAM SYSTEM MODELER
'diagonal()'diagonal() |
SystemModel["ModelicaReference.Operators.'diagonal()'"]
This information is part of the Modelica Standard Library maintained by the Modelica Association.
Returns a diagonal matrix
diagonal(v)
Returns a square matrix with the elements of vector v on the diagonal and all other elements zero.