functionSigma

Return the sum of the first and second entries of a vector (Σ)

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

Information

The translator should automatically vectorize (or "matricize") this function. For example, Sigma([1,2;3,4]) returns {3,7}. In contrast, sum([1,2;3,4]) returns 10.

Inputs

TypeNameDefaultDescription
Real[2]uVector of size two

Outputs

TypeNameDefaultDescription
RealSigmaSum of the first and second entries