.ModelicaReference.Operators

Information

In this chapter operators of Modelica are documented. Elementary operators, such as "+" or "-" are overloaded and operate on scalar and array variables. Other operators have the same syntax as a Modelica function call. However, they do not behave as a Modelica function, either because the result depends not only on the input arguments but also on the status of the simulation (such as "pre(..)"), or the function operates on input arguments of different types (such as "String(..)"). Neither of these "functions" can be defined with a "standard" Modelica function and are therefore builtin operators of the Modelica language (with exception of the basic mathematical functions, sin, cos, tan, asin, acos, atan, atan2, sinh, cosh, tanh, exp, log, log10 that are provided for convenience as built-in functions).

Contents

NameDescription
 ElementaryOperatorsElementary operators (+, >, or, ..)
 'abs()'abs()
 'acos()'acos()
 'activeState()'activeState()
 'actualStream()'actualStream()
 'array()'array()
 'asin()'asin()
 'assert()'assert()
 'atan()'atan()
 'atan2()'atan2()
 'backSample()'backSample()
 'cardinality()'cardinality()
 'cat()'cat()
 'ceil()'ceil()
 'change()'change()
 'Clock()'Clock()
 'connect()'connect()
 'Connections.branch()'Connections.branch()
 'Connections.root()'Connections.root()
 'Connections.potentialRoot()'Connection.potentialRoot()
 'Connections.isRoot()'Connections.isRoot()
 'Connections.rooted()'Connections.rooted()
 'cos()'cos()
 'cosh()'cosh()
 'cross()'cross()
 'delay()'delay()
 'der()'der()
 'diagonal()'diagonal()
 'div()'div()
 'edge()'edge()
 'exp()'exp()
 'fill()'fill()
 'firstTick()'firstTick()
 'floor()'floor()
 'hold()'hold()
 'homotopy()'homotopy()
 'identity()'identity()
 'initial()'initial()
 'initialState()'initialState()
 'inStream()'inStream()
 'Integer()'Integer()
 'integer()'integer()
 'interval()'interval()
 'linspace()'linspace()
 'log()'log()
 'log10()'log10()
 'matrix()'matrix()
 'max()'max()
 'min()'min()
 'mod()'mod()
 'ndims()'ndims()
 'noClock()'noClock()
 'noEvent()'noEvent()
 'ones()'ones()
 'outerProduct()'outerProduct()
 'pre()'pre()
 'previous()'previous()
 'product()'product()
 'reinit()'reinit()
 'rem()'rem()
 'rooted()'rooted() - deprecated
 'sample()'sample()
 'sample()clocked'sample() Clocked
 'scalar()'scalar()
 'semiLinear()'semiLinear()
 'shiftSample()'shiftSample()
 'sign()'sign()
 'sin()'sin()
 'sinh()'sinh()
 'size()'size()
 'skew()'skew()
 'smooth()'smooth()
 'sqrt()'sqrt()
 'String()'String()
 'subSample()'subSample()
 'sum()'sum()
 'superSample()'superSample()
 'symmetric()'symmetric()
 'tan()'tan()
 'tanh()'tanh()
 'terminal()'terminal()
 'terminate()'terminate()
 'ticksInState()'ticksInState()
 'timeInState()'timeInState()
 'transition()'transition()
 'transpose()'transpose()
 'vector()'vector()
 'zeros()'zeros()

Generated at 2024-12-21T19:25:56Z by OpenModelicaOpenModelica 1.24.3 using GenerateDoc.mos