.Annex60.Utilities.Math.Functions.average

Average of a vector

Information

This function outputs the average of the vector.

Interface

function average
  input Integer nin "Number of inputs";
  input Real u[nin] "Input vector";
  output Real y "Result";
end average;

Revisions


Generated at 2025-07-12T18:21:06Z by OpenModelicaOpenModelica 1.25.1 using GenerateDoc.mos