functionDelta

Return the second entry of a vector minus the first (Δ)

Extends from Modelica.Icons.Function (Icon for functions).

Information

The translator should automatically vectorize (or "matricize") this function. For example, Delta([1,2;3,4]) returns {1,1}.

Inputs

TypeNameDefaultDescription
Real[2]uVector of size two

Outputs

TypeNameDefaultDescription
RealDeltaSecond entry minus the first entry