Show
Ignore:
Timestamp:
09/16/2007 09:55:10 AM (16 months ago)
Author:
otter
Message:

Improved documentation of Blocks.Tables.CombiTable2D (reported by Ulf Nordström).
Started a "Version 2.2.2 with bug fixes" documentation package under Modelica.ReleaseNotes.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • Modelica/branches/maintenance/2.2.2/Modelica/Blocks/Tables.mo

    r550 r631  
    488488----------------------------------------------------- 
    489489#1 
    490 double tab1(5,2)   # comment line 
    491   0   0 
    492   1   1 
    493   2   4 
    494   3   9 
    495   4  16 
    496 double tab2(5,2)   # another comment line 
    497   0   0 
    498   2   2 
    499   4   8 
    500   6  18 
    501   8  32 
     490double table2D_1(3,4)   # comment line 
     4910.0  1.0  2.0  3.0  # u[2] grid points 
     4921.0  1.0  3.0  5.0 
     4932.0  2.0  4.0  6.0 
     494 
     495double table2D_2(4,4)   # comment line 
     4960.0  1.0  2.0  3.0  # u[2] grid points 
     4971.0  1.0  3.0  5.0 
     4982.0  2.0  4.0  6.0 
     4993.0  3.0  5.0  7.0 
    502500----------------------------------------------------- 
    503501</pre> 
     
    508506rows of the file, the elements of the matrix have to be given. 
    509507Several matrices may be defined one after another. 
    510 </p> 
    511 </HTML> 
     508The matrix elements are interpreted in exactly the same way 
     509as if the matrix is given as a parameter. For example, the first 
     510column \"table2D_1[2:,1]\" contains the u[1] grid points, 
     511and the first row \"table2D_1[1,2:]\" contains the u[2] grid points. 
     512</p> 
     513 
     514</html> 
    512515"),   Icon( 
    513516        Line(points=[-60, 40; -60, -40; 60, -40; 60, 40; 30, 40; 30, -40; -30,