Ticket #35: correctheadings.patch

File correctheadings.patch, 55.7 kB (added by dietmarw, 11 months ago)

corrects the headings

  • home/dietmarw/.workspace/ModelicaReference/package.mo

     
    5151  class Block "block"  
    5252     
    5353    annotation (Documentation(info="<html> 
    54 <h3><font color=\"#008000\" size=5>block</font></h3> 
     54 
    5555<p> 
    5656Define specialized class <i>block</i> 
    5757</p> 
    58 <h3><font color=\"#008000\">Examples</font></h3> 
     58<h4>Examples</h4> 
    5959 
    6060<pre><b>block</b> Integrator 
    6161  <b>input</b> Real u; 
     
    6767  y = x; 
    6868<b>end</b> Integrator;</pre> 
    6969 
    70 <h3><font color=\"#008000\">Syntax</font></h3> 
     70<h4>Syntax</h4> 
    7171 
    7272<PRE>   [ <B>encapsulated</B> ][ <B>partial </B>] <B>block</B> 
    7373   IDENT class_specifier 
     
    7979 
    8080<p>See Modelica Language Specification for further details.</p> 
    8181 
    82 <h3><font color=\"#008000\">Description</font></h3> 
     82<h4>Description</h4> 
    8383<P> 
    8484A block class is the same as a model class 
    8585with the restriction that each connector component of a block must 
     
    9595  class Class "class"  
    9696     
    9797    annotation (Documentation(info="<html> 
    98 <h3><font color=\"#008000\" size=5>class</font></h3> 
     98 
    9999<p> 
    100100Define class 
    101101</p> 
    102 <h3><font color=\"#008000\">Examples</font></h3> 
     102<h4>Examples</h4> 
    103103 
    104104<pre><b>class</b> MyTable 
    105105  <b>extends</b> ExternalObject; 
     
    112112  <b>end</b> destructor; 
    113113<b>end</b> MyTable;</pre> 
    114114 
    115 <h3><font color=\"#008000\">Syntax</font></h3> 
     115<h4>Syntax</h4> 
    116116<PRE>   [ <B>encapsulated</B> ][ <B>partial </B>] <B>class</B> 
    117117   IDENT class_specifier 
    118118 
     
    123123 
    124124<p>See Modelica Language Specification for further details.</p> 
    125125 
    126 <h3><font color=\"#008000\">Description</font></h3> 
     126<h4>Description</h4> 
    127127 
    128128<p> 
    129129The keyword class is used to define general classes (without any restrictions). 
     
    138138  class Connector "connector"  
    139139     
    140140    annotation (Documentation(info="<html> 
    141 <h3><font color=\"#008000\" size=5>connector</font></h3> 
     141 
    142142<p> 
    143143Define specialized class <i>connector</i> 
    144144</p> 
    145 <h3><font color=\"#008000\">Examples</font></h3> 
     145<h4>Examples</h4> 
    146146 
    147147<pre><b>connector</b> flange 
    148148  Modelica.SIunits.Angle phi; 
    149149  <b>flow</b> Modelica.SIunits.Torque tau; 
    150150<b>end</b> flange;</pre> 
    151151 
    152 <h3><font color=\"#008000\">Syntax</font></h3> 
     152<h4>Syntax</h4> 
    153153<PRE>   [ <B>encapsulated</B> ][ <B>partial </B>] <B>connector</B> 
    154154   IDENT class_specifier 
    155155 
     
    160160 
    161161<p>See Modelica Language Specification for further details.</p> 
    162162 
    163 <h3><font color=\"#008000\">Description</font></h3> 
     163<h4>Description</h4> 
    164164<P>The keyword connector is used to define connectors, which are used 
    165165in connect statements. In connectors, no equations are allowed in the 
    166166definition or in any of its components. 
     
    173173  class Function "function"  
    174174     
    175175    annotation (Documentation(info="<html> 
    176 <h3><font color=\"#008000\" size=5>function</font></h3> 
     176 
    177177<p> 
    178178Define specialized class <i>function</i> 
    179179</p> 
    180 <h3><font color=\"#008000\">Examples</font></h3> 
     180<h4>Examples</h4> 
    181181 
    182182<pre><b>function</b> si 
    183183  <b>input</b> Real x; 
     
    188188 
    189189<p align=\"center\"><img src=\"../Images/function.png\" width=\"400\" height=\"280\" alt=\"Simulation result\"></p> 
    190190 
    191 <h3><font color=\"#008000\">Syntax</font></h3> 
     191<h4>Syntax</h4> 
    192192 
    193193<PRE>   [ <B>encapsulated</B> ][ <B>partial </B>] <B>function</B> 
    194194   IDENT class_specifier 
     
    200200 
    201201<p>See Modelica Language Specification for further details.</p> 
    202202 
    203 <h3><font color=\"#008000\">Description</font></h3> 
     203<h4>Description</h4> 
    204204 
    205205<P>The keyword function is used to define functions as known from programming 
    206206languages. Each part of a function interface must 
     
    296296  class Model "model"  
    297297     
    298298    annotation (Documentation(info="<html> 
    299 <h3><font color=\"#008000\" size=5>model</font></h3> 
     299 
    300300<p> 
    301301Define specialized class <i>model</i> 
    302302</p> 
    303 <h3><font color=\"#008000\">Examples</font></h3> 
     303<h4>Examples</h4> 
    304304 
    305305<pre><b>model</b> SlidingMass 
    306306  <b>parameter</b> Modelica.SIunits.Mass m=1; 
     
    314314  m*a = f; 
    315315<b>end</b> SlidingMass;</pre> 
    316316 
    317 <h3><font color=\"#008000\">Syntax</font></h3> 
     317<h4>Syntax</h4> 
    318318<PRE>   [ <B>encapsulated</B> ][ <B>partial </B>] <B>model</B> 
    319319   IDENT class_specifier 
    320320 
     
    325325 
    326326<p>See Modelica Language Specification for further details.</p> 
    327327 
    328 <h3><font color=\"#008000\">Description</font></h3> 
     328<h4>Description</h4> 
    329329<P> 
    330330The keyword model is identical to the keyword class, i.e., 
    331331no restrictions and no enhancements.  
     
    336336  class Package "package"  
    337337     
    338338    annotation (Documentation(info="<html> 
    339 <h3><font color=\"#008000\" size=5>package</font></h3> 
     339 
    340340<p> 
    341341Define specialized class <i>package</i> 
    342342</p> 
    343 <h3><font color=\"#008000\">Examples</font></h3> 
     343<h4>Examples</h4> 
    344344 
    345345<pre><b>package</b> Library 
    346346  <b>constant</b> Real k = 0.1; 
     
    357357<b>end</b> Library;</pre> 
    358358 
    359359 
    360 <h3><font color=\"#008000\">Syntax</font></h3> 
     360<h4>Syntax</h4> 
    361361<PRE>   [ <B>encapsulated</B> ][ <B>partial </B>] <B>package</B> 
    362362   IDENT class_specifier 
    363363 
     
    368368 
    369369<p>See Modelica Language Specification for further details.</p> 
    370370 
    371 <h3><font color=\"#008000\">Description</font></h3> 
     371<h4>Description</h4> 
    372372<P>May only contain declarations of classes and constants. 
    373373   Enhanced to allow import of elements of packages.</P> 
    374374 
     
    378378  class Record "record"  
    379379     
    380380    annotation (Documentation(info="<html> 
    381 <h3><font color=\"#008000\" size=5>record</font></h3> 
     381 
    382382<p> 
    383383Define specialized class <i>record</i> 
    384384</p> 
    385 <h3><font color=\"#008000\">Examples</font></h3> 
     385<h4>Examples</h4> 
    386386 
    387387<pre>  <b>record</b> States 
    388388    Modelica.SIunits.Position s; 
     
    404404    sys.m*sys.a = sys.f; 
    405405  <b>end</b> SlidingMass;</pre> 
    406406 
    407 <h3><font color=\"#008000\">Syntax</font></h3> 
     407<h4>Syntax</h4> 
    408408<PRE>   [ <B>encapsulated</B> ][ <B>partial </B>] <B>record</B> 
    409409   IDENT class_specifier 
    410410 
     
    415415 
    416416<p>See Modelica Language Specification for further details.</p> 
    417417 
    418 <h3><font color=\"#008000\">Description</font></h3> 
     418<h4>Description</h4> 
    419419 
    420420<p> 
    421421The keyword record is used to define records which are generally used in 
     
    435435  class Type "type"  
    436436     
    437437    annotation (Documentation(info="<html> 
    438 <h3><font color=\"#008000\" size=5>type</font></h3> 
     438 
    439439<p> 
    440440Define specialized class <i>type</i> 
    441441</p> 
    442 <h3><font color=\"#008000\">Examples</font></h3> 
     442<h4>Examples</h4> 
    443443 
    444444<pre><b>type</b> R0Plus = Real(min=0);</pre> 
    445445 
    446 <h3><font color=\"#008000\">Syntax</font></h3> 
     446<h4>Syntax</h4> 
    447447<PRE>   [ <B>encapsulated</B> ][ <B>partial </B>] <B>type</B> 
    448448   IDENT class_specifier 
    449449 
     
    454454 
    455455<p>See Modelica Language Specification for further details.</p> 
    456456 
    457 <h3><font color=\"#008000\">Description</font></h3> 
     457<h4>Description</h4> 
    458458<p>The keyword type is used to define types, which may only be extensions to the predefined types, enumerations, array of type, or classes extending from type. 
    459459Enhanced to extend from predefined types [No other specialized class has this property]. 
    460460</p> 
     
    476476class ElementaryOperators "Elementary operators (+, >, or, ..)"  
    477477     
    478478  annotation (Documentation(info="<html> 
    479 <h3><font color=\"#008000\" size=5>Elementary Operators</font></h3> 
     479 
    480480<p> 
    481481Elementary operators are overloaded and operate on variables 
    482482of type Real, Integer, Boolean, and String, as well as on scalars 
    483483or arrays. 
    484484</p> 
    485 <h3><font color=\"#008000\">Syntax</font></h3> 
     485<h4>Syntax</h4> 
    486486 
    487487<table border=1 cellspacing=0 cellpadding=2> 
    488488  <tr><td colspan=\"3\"><b>Arithmethic Operators (operate on Real, Integer scalars or arrays)</b></td> 
     
    10871087  class Abs "abs"  
    10881088     
    10891089    annotation (Documentation(info="<html> 
    1090 <h3><font color=\"#008000\" size=5>abs</font></h3> 
     1090 
    10911091<p> 
    10921092Absolute value of Real or Integer variable. 
    10931093</p> 
    1094 <h3><font color=\"#008000\">Syntax</font></h3> 
     1094<h4>Syntax</h4> 
    10951095<blockquote><pre><b>abs</b>(v)</pre></blockquote> 
    1096 <h3><font color=\"#008000\">Description</font></h3> 
     1096<h4>Description</h4> 
    10971097<P>Is expanded into &quot;noEvent(<B>if </B>v &ge; 0 
    10981098<B>then</B> v <B>else</B> -v)&quot;. Argument v 
    10991099needs to be an Integer or Real expression. </P> 
    1100 <h3><font color=\"#008000\">Examples</font></h3> 
     1100<h4>Examples</h4> 
    11011101<pre> 
    11021102  <b>abs</b>({-3, 0, 3}) 
    11031103 = {3, 0, 3}</pre> 
     
    11071107  class Assert "assert"  
    11081108     
    11091109    annotation (Documentation(info="<html> 
    1110 <h3><font color=\"#008000\" size=5>assert</font></h3> 
     1110 
    11111111<p> 
    11121112Trigger error and print error message if assertion condition is not fulfilled 
    11131113</p> 
    1114 <h3><font color=\"#008000\">Syntax</font></h3> 
     1114<h4>Syntax</h4> 
    11151115<blockquote><pre><b>assert</b>(condition, message, level = AssertionLevel.error)</pre></blockquote> 
    1116 <h3><font color=\"#008000\">Description</font></h3> 
     1116<h4>Description</h4> 
    11171117<p>The boolean expression <i>condition</i> shall be true for successful model evaluations. 
    11181118Otherwise, an error occurs using the string expression <i>message</i> 
    11191119as error message.</p> 
     
    11561156  <b>assert</b>(T &gt; 200 and T &lt; 500, \"Medium model outside feasible region\"); 
    11571157</pre> 
    11581158 
    1159 <h3><font color=\"#008000\">Examples</font></h3> 
     1159<h4>Examples</h4> 
    11601160<pre>  <b>parameter</b> Real upperLimit=2; 
    11611161  <b>parameter</b> Real lowerLimit=-2; 
    11621162<b>equation</b> 
     
    11681168  class Cardinality "cardinality"  
    11691169     
    11701170    annotation (Documentation(info="<html> 
    1171 <h3><font color=\"#008000\" size=5>cardinality</font></h3> 
     1171 
    11721172<p> 
    11731173Number of connectors in connection. 
    11741174This is a deprecated operator. It should  no longer be used, since it will be removed in one of the next Modelica releases. 
    11751175</p> 
    11761176 
    1177 <h3><font color=\"#008000\">Syntax</font></h3> 
     1177<h4>Syntax</h4> 
    11781178<blockquote><pre><b>cardinality</b>(c)</pre></blockquote> 
    1179 <h3><font color=\"#008000\">Description</font></h3> 
     1179<h4>Description</h4> 
    11801180<p>Returns the number of (inside and outside) occurrences 
    11811181of connector instance c in a connect statement as an Integer number.</p> 
    11821182<p><i>[The cardinality operator allows the definition of connection dependent equations in a model.]</i></p> 
     
    11871187parameters. 
    11881188</p> 
    11891189 
    1190 <h3><font color=\"#008000\">Examples</font></h3> 
     1190<h4>Examples</h4> 
    11911191<PRE><B>connector</B> Pin 
    11921192  Real      v; 
    11931193  <B>flow</B> Real i; 
     
    12131213  class Ceil "ceil"  
    12141214     
    12151215    annotation (Documentation(info="<html> 
    1216 <h3><font color=\"#008000\" size=5>ceil</font></h3> 
     1216 
    12171217<p> 
    12181218Round a Real number towards plus infinity 
    12191219</p> 
    1220 <h3><font color=\"#008000\">Syntax</font></h3> 
     1220<h4>Syntax</h4> 
    12211221<blockquote><pre><b>ceil</b>(x)</pre></blockquote> 
    1222 <h3><font color=\"#008000\">Description</font></h3> 
     1222<h4>Description</h4> 
    12231223<p>Returns the smallest integer not less than <tt>x</tt>. 
    12241224Result and argument shall have type Real. 
    12251225<i>[Note, outside of a when clause state events are 
    12261226triggered when the return value changes discontinuously.]</i></p> 
    1227 <h3><font color=\"#008000\">Examples</font></h3> 
     1227<h4>Examples</h4> 
    12281228<pre><b>ceil</b>({-3.14, 3.14}) 
    12291229 = {-3.0, 4.0}</pre> 
    12301230</html>")); 
     
    12331233  class Change "change"  
    12341234     
    12351235    annotation (Documentation(info="<html> 
    1236 <h3><font color=\"#008000\" size=5>change</font></h3> 
     1236 
    12371237<p> 
    12381238Indicate discrete variable changing 
    12391239</p> 
    1240 <h3><font color=\"#008000\">Syntax</font></h3> 
     1240<h4>Syntax</h4> 
    12411241<blockquote><pre><b>change</b>(v)</pre></blockquote> 
    1242 <h3><font color=\"#008000\">Description</font></h3> 
     1242<h4>Description</h4> 
    12431243<P>Is expanded into &quot;(v&lt;&gt;pre(v))&quot;. 
    12441244The same restrictions as for the pre() operator apply.</P> 
    1245 <h3><font color=\"#008000\">Examples</font></h3> 
     1245<h4>Examples</h4> 
    12461246<pre><b>model</b> BothEdges 
    12471247  Boolean u; 
    12481248  Integer i; 
     
    12591259  class Cos "cos"  
    12601260     
    12611261    annotation (Documentation(info="<html> 
    1262 <h3><font color=\"#008000\" size=5>cos</font></h3> 
     1262 
    12631263<p> 
    12641264Trigonometric cosine function 
    12651265</p> 
    1266 <h3><font color=\"#008000\">Syntax</font></h3> 
     1266<h4>Syntax</h4> 
    12671267<blockquote><pre><b>cos</b>(v)</pre></blockquote> 
    1268 <h3><font color=\"#008000\">Description</font></h3> 
     1268<h4>Description</h4> 
    12691269<p>Returns the cosine of v. 
    12701270Argument v needs to be an Integer or Real expression.</p> 
    1271 <h3><font color=\"#008000\">Examples</font></h3> 
     1271<h4>Examples</h4> 
    12721272<pre><b>cos</b>(3.14159265358979) 
    12731273 = -1.0</pre> 
    12741274</html>")); 
     
    12761276   
    12771277class Cross "cross"  
    12781278  annotation (Documentation(info="<html> 
    1279 <h3><font color=\"#008000\" size=5>cross</font></h3> 
     1279 
    12801280<p> 
    12811281Return cross product of two vectors 
    12821282</p> 
    1283 <h3><font color=\"#008000\">Syntax</font></h3> 
     1283<h4>Syntax</h4> 
    12841284<blockquote><pre><b>cross</b>(x, y)</pre></blockquote> 
    1285 <h3><font color=\"#008000\">Description</font></h3> 
     1285<h4>Description</h4> 
    12861286<p> 
    12871287Returns the cross product of the 3-vectors x and y, i.e. 
    12881288</p> 
     
    12971297  class Delay "delay"  
    12981298     
    12991299    annotation (Documentation(info="<html> 
    1300 <h3><font color=\"#008000\" size=5>delay</font></h3> 
     1300 
    13011301<p> 
    13021302Delay expression 
    13031303</p> 
    1304 <h3><font color=\"#008000\">Syntax</font></h3> 
     1304<h4>Syntax</h4> 
    13051305<blockquote><pre><b>delay</b>(expr, delayTime, delayMax) 
    13061306<b>delay</b>(expr, delayTime)</pre></blockquote> 
    1307 <h3><font color=\"#008000\">Description</font></h3> 
     1307<h4>Description</h4> 
    13081308<P>Returns <TT>\"expr(time - delayTime)\"</TT> for <TT>time &gt; time.start + delayTime</TT> 
    13091309and <TT>\"expr(time.start)\"</TT> for <TT>time &le; time.start + delayTime</TT>. The 
    13101310arguments, i.e., <tt>expr</tt>, <tt>delayTime</tt> and <tt>delayMax</tt>, need to be subtypes of Real. 
     
    13291329to be give as additional argument to be fixed at compile time. Furthermore, 
    13301330the maximum step size of the integrator is limited by this minimum delay 
    13311331time in order to avoid extrapolation in the delay buffer.]</i></p> 
    1332 <h3><font color=\"#008000\">Examples</font></h3> 
     1332<h4>Examples</h4> 
    13331333<pre><b>model</b> Delay 
    13341334  Real x; 
    13351335  Real y; 
     
    13441344  class Der "der"  
    13451345     
    13461346    annotation (Documentation(info="<html> 
    1347 <h3><font color=\"#008000\" size=5>der</font></h3> 
     1347 
    13481348<p> 
    13491349Time derivative of expression 
    13501350</p> 
    1351 <h3><font color=\"#008000\">Syntax</font></h3> 
     1351<h4>Syntax</h4> 
    13521352<blockquote><pre><b>der</b>(expr)</pre></blockquote> 
    1353 <h3><font color=\"#008000\">Description</font></h3> 
     1353<h4>Description</h4> 
    13541354<P>The time derivative of expression expr.  
    13551355If the expression expr is a scalar it needs to be a subtype of Real. The expression and all its subexpressions must be differentiable. If expr is an array, the operator is applied to all elements of the array. For Real parameters and 
    13561356constants the result is a zero scalar or array of the same size as the 
    13571357variable.</P> 
    1358 <h3><font color=\"#008000\">Examples</font></h3> 
     1358<h4>Examples</h4> 
    13591359<pre>  Real x, xdot1, xdot2; 
    13601360<b>equation</b> 
    13611361  xdot1 = <b>der</b>(x); 
     
    13661366   
    13671367class Diagonal "diagonal"  
    13681368  annotation (Documentation(info="<html> 
    1369 <h3><font color=\"#008000\" size=5>diagonal</font></h3> 
     1369 
    13701370<p> 
    13711371Returns a diagonal matrix 
    13721372</p> 
    1373 <h3><font color=\"#008000\">Syntax</font></h3> 
     1373<h4>Syntax</h4> 
    13741374<blockquote><pre><b>diagonal</b>(v)</pre></blockquote> 
    1375 <h3><font color=\"#008000\">Description</font></h3> 
     1375<h4>Description</h4> 
    13761376<p> 
    13771377Returns a square matrix with the elements of vector v  
    13781378on the diagonal and all other elements zero. 
     
    13831383  class Div "div"  
    13841384     
    13851385    annotation (Documentation(info="<html> 
    1386 <h3><font color=\"#008000\" size=5>div</font></h3> 
     1386 
    13871387<p> 
    13881388Integer part of division of two Real numbers 
    13891389</p> 
    1390 <h3><font color=\"#008000\">Syntax</font></h3> 
     1390<h4>Syntax</h4> 
    13911391<blockquote><pre><b>div</b>(x, y)</pre></blockquote> 
    1392 <h3><font color=\"#008000\">Description</font></h3> 
     1392<h4>Description</h4> 
    13931393<P>Returns the algebraic quotient <TT>x/y</TT> with any 
    13941394fractional part discarded (also known as truncation 
    13951395toward zero). <I>[Note: this is defined for / in C99; 
     
    14021402<p><i>[Note, outside of a when clause state events are triggered 
    14031403when the return value changes discontinuously.]</i></p> 
    14041404 
    1405 <h3><font color=\"#008000\">Examples</font></h3> 
     1405<h4>Examples</h4> 
    14061406<pre><b>div</b>(13,6) 
    14071407 = 2</pre> 
    14081408</html>")); 
     
    14111411  class Edge "edge"  
    14121412     
    14131413    annotation (Documentation(info="<html> 
    1414 <h3><font color=\"#008000\" size=5>edge</font></h3> 
     1414 
    14151415<p> 
    14161416Indicate rising edge 
    14171417</p> 
    1418 <h3><font color=\"#008000\">Syntax</font></h3> 
     1418<h4>Syntax</h4> 
    14191419<blockquote><pre><b>edge</b>(b)</pre></blockquote> 
    1420 <h3><font color=\"#008000\">Description</font></h3> 
     1420<h4>Description</h4> 
    14211421<P>Is expanded into &quot;(b <B>and not pre</B>(b))&quot; 
    14221422for Boolean variable b. The same restrictions as for the 
    14231423<B>pre</B> operator apply (e.g. not to be used in function 
    14241424classes).</P> 
    1425 <h3><font color=\"#008000\">Examples</font></h3> 
     1425<h4>Examples</h4> 
    14261426<pre><b>model</b> RisingEdge 
    14271427  Boolean u; 
    14281428  Integer i; 
     
    14381438   
    14391439class Fill "fill"  
    14401440  annotation (Documentation(info="<html> 
    1441 <h3><font color=\"#008000\" size=5>fill</font></h3> 
     1441 
    14421442<p> 
    14431443Return a Real, Integer, Boolean or String array with all elements equal 
    14441444</p> 
    1445 <h3><font color=\"#008000\">Syntax</font></h3> 
     1445<h4>Syntax</h4> 
    14461446<blockquote><pre><b>fill</b>(s, n1, n2, n3, ...)</pre></blockquote> 
    1447 <h3><font color=\"#008000\">Description</font></h3> 
     1447<h4>Description</h4> 
    14481448<p> 
    14491449Returns the n1 x n2 x n3 x ... array with all elements equal  
    14501450to scalar or array expression s (ni >= 0). The returned  
     
    14541454fill(s,n1,n2,n3, ...) = fill(fill(s,n2,n3, ...), n1);  
    14551455fill(s,n) = {s,s,..., s} 
    14561456</pre></blockquote> 
    1457 <h3><font color=\"#008000\">Examples</font></h3> 
     1457<h4>Examples</h4> 
    14581458<blockquote><pre> 
    14591459Real    mr[2,2] = fill(-1,2,2);  // = [-1,-1;-1,-1] 
    14601460Boolean vb[3]   = fill(true,3);  // = {true, true, true} 
     
    14651465  class Floor "floor"  
    14661466     
    14671467    annotation (Documentation(info="<html> 
    1468 <h3><font color=\"#008000\" size=5>floor</font></h3> 
     1468 
    14691469<p> 
    14701470Round Real number towards minus infinity 
    14711471</p> 
    1472 <h3><font color=\"#008000\">Syntax</font></h3> 
     1472<h4>Syntax</h4> 
    14731473<blockquote><pre><b>floor</b>(x)</pre></blockquote> 
    1474 <h3><font color=\"#008000\">Description</font></h3> 
     1474<h4>Description</h4> 
    14751475<p>Returns the largest integer not greater than <tt>x</tt>. 
    14761476Result and argument shall have type Real. <i>[Note, outside 
    14771477of a when clause state events are triggered when the return 
    14781478value changes discontinuously.]</i></p> 
    1479 <h3><font color=\"#008000\">Examples</font></h3> 
     1479<h4>Examples</h4> 
    14801480<pre><b>floor</b>({-3.14, 3.14}) 
    14811481 = {-4.0, 3.0}</pre> 
    14821482</html>")); 
     
    14841484   
    14851485class Identity "identity"  
    14861486  annotation (Documentation(info="<html> 
    1487 <h3><font color=\"#008000\" size=5>identity</font></h3> 
     1487 
    14881488<p> 
    14891489Returns the identity matrix of the desired size 
    14901490</p> 
    1491 <h3><font color=\"#008000\">Syntax</font></h3> 
     1491<h4>Syntax</h4> 
    14921492<blockquote><pre><b>identity</b>(n)</pre></blockquote> 
    1493 <h3><font color=\"#008000\">Description</font></h3> 
     1493<h4>Description</h4> 
    14941494<p> 
    14951495Returns the n x n Integer identity matrix, with ones  
    14961496on the diagonal and zeros at the other places. 
     
    15011501  class Initial "initial"  
    15021502     
    15031503    annotation (Documentation(info="<html> 
    1504 <h3><font color=\"#008000\" size=5>initial</font></h3> 
     1504 
    15051505<p> 
    15061506True during initialization 
    15071507</p> 
    1508 <h3><font color=\"#008000\">Syntax</font></h3> 
     1508<h4>Syntax</h4> 
    15091509<blockquote><pre><b>initial</b>()</pre></blockquote> 
    1510 <h3><font color=\"#008000\">Description</font></h3> 
     1510<h4>Description</h4> 
    15111511<p>Returns <b>true</b> during the initialization phase and <b>false</b> otherwise.</p> 
    1512 <h3><font color=\"#008000\">Examples</font></h3> 
     1512<h4>Examples</h4> 
    15131513<pre>  Boolean off; 
    15141514  Real x; 
    15151515<b>equation</b> 
     
    15201520  class IntegerUpperCase "Integer"  
    15211521     
    15221522    annotation (Documentation(info="<html> 
    1523 <h3><font color=\"#008000\" size=5>integer</font></h3> 
     1523 
    15241524<p> 
    15251525Returns ordinal number of enumeration 
    15261526</p> 
    1527 <h3><font color=\"#008000\">Syntax</font></h3> 
     1527<h4>Syntax</h4> 
    15281528<blockquote><pre><b>Integer</b>(E.e1)</pre></blockquote> 
    1529 <h3><font color=\"#008000\">Description</font></h3> 
     1529<h4>Description</h4>