Skip to content

Commit

Permalink
Revised comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
mwetter committed Jan 30, 2014
1 parent ff2b4d3 commit cca6024
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 10 deletions.
10 changes: 7 additions & 3 deletions Annex60/Utilities/Math/Average.mo
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,13 @@ Documentation(info="<html>
</html>",
revisions="<html>
<ul>
<li>November 28, 2013, by Marcus Fuchs<br/>
Changed block to use function average.</li>
<li>April 3, 2009, by Michael Wetter:<br/>First implementation. </li>
<li>November 28, 2013, by Marcus Fuchs:<br/>
Changed block to use function average.
</li>
<li>
April 3, 2009, by Michael Wetter:<br/>
First implementation.
</li>
</ul>
</html>"), Icon(graphics={Text(
extent={{-74,46},{66,-58}},
Expand Down
6 changes: 5 additions & 1 deletion Annex60/Utilities/Math/Functions/average.mo
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,11 @@ algorithm
<p>This block outputs the average of the vector. </p>
</html>", revisions="<html>
<p><ul>
<li>November 28, 2013, by Marcus Fuchs<br/>Implementation based on Michael Wetter&apos;s block Average.</li>
<li>November 28, 2013, by Marcus Fuchs:<br/>
Implementation based on Michael Wetter&apos;s block
<a href=\"modelica://Annex60.Utilities.Math.Average\">
Annex60.Utilities.Math.Average</a>.
</li>
</ul></p>
</html>"));
end average;
12 changes: 9 additions & 3 deletions Annex60/Utilities/Math/Functions/booleanReplicator.mo
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,14 @@ algorithm
annotation (Documentation(info="<html>
<p>This function replicates the boolean input signal to an array of <code>nout</code> identical output signals. </p>
</html>", revisions="<html>
<p><ul>
<li>November 28, 2013, by Marcus Fuchs<br/>Implementation based on Kaustubh Phalak&apos;s block BooleanReplicator.</li>
</ul></p>
<p>
<ul>
<li>November 28, 2013, by Marcus Fuchs:<br/>
Implementation based on Kaustubh Phalak&apos;s block
<a href=\"modelica://Annex60.Utilities.Math.BooleanReplicator\">
Annex60.Utilities.Math.BooleanReplicator</a>.
</li>
</ul>
</p>
</html>"));
end booleanReplicator;
13 changes: 10 additions & 3 deletions Annex60/Utilities/Math/Functions/integerReplicator.mo
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,17 @@ algorithm
y :=fill(u, nout);

annotation (Documentation(info="<html>
<p>This function replicates the integer input signal to an array of <code>nout</code> identical output signals. </p>
<p>This function replicates the integer input signal to an array of
<code>nout</code> identical output signals. </p>
</html>", revisions="<html>
<p><ul>
<li>November 28, 2013, by Marcus Fuchs<br/>Implementation based on Kaustubh Phalak&apos;s block IntegerReplicator.</li>
<p>
<ul>
<li>
November 28, 2013, by Marcus Fuchs:<br/>
Implementation based on Kaustubh Phalak&apos;s block
<a href=\"modelica://Annex60.Utilities.Math.IntegerReplicator\">
Annex60.Utilities.Math.IntegerReplicator</a>.
</li>
</ul></p>
</html>"));
end integerReplicator;

0 comments on commit cca6024

Please sign in to comment.