.FCSys.Utilities.Sigma

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.

Interface

function Sigma
  extends Modelica.Icons.Function;
  input Real u[2] "Vector of size two" annotation(
    Dialog(__Dymola_label = "<html><i>u</i></html>"));
  output Real Sigma "Sum of the first and second entries" annotation(
    Dialog(__Dymola_label = "<html>&Sigma;</html>"));
end Sigma;

Generated at 2024-11-22T19:25:38Z by OpenModelicaOpenModelica 1.24.2 using GenerateDoc.mos