.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-12-26T19:25:54Z by OpenModelicaOpenModelica 1.24.3 using GenerateDoc.mos