Changes between Version 8 and Version 9 of WritingEfficientMetaModelica


Ignore:
Timestamp:
2014-10-15T12:31:33Z (10 years ago)
Author:
Martin Sjölund
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • WritingEfficientMetaModelica

    v8 v9  
    1414list(2*x*y for x guard x>0 in lst);
    1515// RML style, creates 6 lists including the listReverse operations
    16 List.map1(List.map1(List.filter(lst, isPositive), realMul, 2.0), realMul, y);
     16List.map1(List.filter(lst, isPositive), realMul, 2.0*y);
    1717}}}
    1818