WOLFRAM SYSTEM MODELER

'ones()'

ones()

Wolfram Language

In[1]:=
SystemModel["ModelicaReference.Operators.'ones()'"]
Out[1]:=

Information

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

Returns an array with "1" elements

Syntax

ones(n1, n2, n3, ...)

Description

Return the n1 x n2 x n3 x ... Integer array with all elements equal to one (ni >=0 ).