1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
within MyLib; package Functions "Utility functions" function double input Real x; output Real y; algorithm y := 2.0 * x; end double; function triple input Real x; output Real y; algorithm y := 3.0 * x; end triple; end Functions;