Annex60.Utilities.Math.Functions.average

# .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

- November 28, 2013, by Marcus Fuchs:
  Implementation based on Michael Wetter's block Annex60.Utilities.Math.Average.

Generated at 2026-05-09T18:18:56Z by OpenModelicaOpenModelica 1.26.7 using GenerateDoc.mos