Changeset 924 for branches/gui/sample


Ignore:
Timestamp:
Mar 3, 2010, 8:38:45 PM (13 years ago)
Author:
Rafael de Pelegrini Soares
Message:

Added max/min to arrays sample

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/gui/sample/miscellaneous/sample_arrays2.mso

    r703 r924  
    2727        Var1(Dimension,Dimension) as Real(Default=1);
    2828        Var2(Dimension,Dimension) as Real(Default=1);
     29        Var2Max(Dimension) as Real;
     30        Var2Min(Dimension) as Real;
    2931
    3032        EQUATIONS
     
    3739                end
    3840        end
     41        Var2Max = max(Var2);
     42        Var2Min = min(Var2);
    3943end
    4044
Note: See TracChangeset for help on using the changeset viewer.