aboutsummaryrefslogtreecommitdiffstats
path: root/README.html
diff options
context:
space:
mode:
Diffstat (limited to 'README.html')
-rw-r--r--README.html219
1 files changed, 157 insertions, 62 deletions
diff --git a/README.html b/README.html
index 834466e..379f6d9 100644
--- a/README.html
+++ b/README.html
@@ -804,6 +804,55 @@ asciidoc.install(2);
</li>
<li>
<p>
+<strong>geo/</strong>
+</p>
+<div class="ulist"><ul>
+<li>
+<p>
+<strong>Vector2D.h</strong> <span class="monospaced">Vector2D&lt;Scalar&gt;</span>
+</p>
+</li>
+<li>
+<p>
+<strong>Vector3D.h</strong> <span class="monospaced">Vector3D&lt;Scalar&gt;</span>
+</p>
+</li>
+</ul></div>
+</li>
+<li>
+<p>
+<strong>math/</strong>
+</p>
+<div class="ulist"><ul>
+<li>
+<p>
+<strong>LinearTransformation.h</strong> <span class="monospaced">LinearTransformation&lt;Scalar&gt;</span>
+</p>
+</li>
+<li>
+<p>
+<strong>LinearTransformations.h</strong> <span class="monospaced">Rotation3D&lt;Scalar&gt;</span>
+</p>
+</li>
+<li>
+<p>
+<strong>Matrix.h</strong> <span class="monospaced">Matrix&lt;Entry&gt;</span>
+</p>
+</li>
+<li>
+<p>
+<strong>Transformation.h</strong> <span class="monospaced">Transformation&lt;Scalar&gt;</span>
+</p>
+</li>
+<li>
+<p>
+<strong>Transformations.h</strong> <span class="monospaced">BallProjection&lt;Scalar&gt;</span>, <span class="monospaced">PhotoProjection&lt;Scalar&gt;</span>
+</p>
+</li>
+</ul></div>
+</li>
+<li>
+<p>
<strong>oo/</strong>
</p>
<div class="ulist"><ul>
@@ -879,62 +928,10 @@ char const* <span class="monospaced">fmt</span>, &#8230;)</p></td>
<td class="tableblock halign-left valign-top" ><p class="tableblock">階層式的訊息輸出</p></td>
</tr>
<tr>
-<td class="tableblock halign-right valign-top" ><p class="tableblock"><strong>noEPS</strong></p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">(double <span class="monospaced">value</span>, double <span class="monospaced">eps</span> = 1e-9)</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">double</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">如果abs(輸入的數值) &lt; eps, 則回傳0, 否則回傳輸入的數值</p></td>
-</tr>
-<tr>
-<td class="tableblock halign-right valign-top" ><p class="tableblock"><strong>normalize</strong></p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">(double <span class="monospaced">lower</span>, double <span class="monospaced">upper</span>, <br>
- double value)</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">double</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock"><span class="monospaced">(value - lower) / (upper - lower)</span></p></td>
-</tr>
-<tr>
-<td class="tableblock halign-right valign-top" ><p class="tableblock"><strong>denormalize</strong></p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">(double <span class="monospaced">lower</span>, double <span class="monospaced">upper</span>,
-<br>
- double <span class="monospaced">ratio</span>)</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">double</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock"><span class="monospaced">lower + (upper - lower) * ratio</span></p></td>
-</tr>
-<tr>
-<td class="tableblock halign-right valign-top" ><p class="tableblock"><strong>ratioMapping</strong></p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">(double <span class="monospaced">l1</span>, double <span class="monospaced">u1</span>,
-<br>
-double <span class="monospaced">m1</span>, double <span class="monospaced">l2</span>,<br>
-double <span class="monospaced">u2</span>)</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">double</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock"><span class="monospaced">denormalize(l2, u2, normalize(l1, u1, m1))</span></p></td>
-</tr>
-<tr>
-<td class="tableblock halign-right valign-top" ><p class="tableblock"><strong>inRange&lt;T&gt;</strong></p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">(T const&amp; <span class="monospaced">mn</span>, T const&amp; <span class="monospaced">mx</span>, <br>
- T const&amp; <span class="monospaced">v</span>)</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">T</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock"><span class="monospaced">std::max(mn, std::min(mx, v))</span></p></td>
-</tr>
-<tr>
-<td class="tableblock halign-right valign-top" ><p class="tableblock"><strong>squ&lt;T&gt;</strong></p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">(T const&amp; <span class="monospaced">x</span>)</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">T</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock"><span class="monospaced">x * x</span></p></td>
-</tr>
-<tr>
-<td class="tableblock halign-right valign-top" ><p class="tableblock"><strong>average&lt;T&gt;</strong></p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">(T const&amp; <span class="monospaced">beg</span>, T const&amp; <span class="monospaced">end</span>, <br>
- double <span class="monospaced">sigs</span>)</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">T</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">只將 <span class="monospaced">sigs</span> 個標準差以內的數據拿來取平均</p></td>
-</tr>
-<tr>
-<td class="tableblock halign-right valign-top" ><p class="tableblock"><strong>average&lt;T&gt;</strong></p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">(T const&amp; <span class="monospaced">beg</span>, T const&amp; <span class="monospaced">end</span>,
-<br>
- T const&amp; <span class="monospaced">p</span>, double <span class="monospaced">sigs</span>)</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">T</p></td>
-<td class="tableblock halign-left valign-top" ><p class="tableblock">同上, 不過這次用 <span class="monospaced">p</span> 來加權平均</p></td>
+<td class="tableblock halign-right valign-top" ><p class="tableblock"><strong>filenameCompare</strong></p></td>
+<td class="tableblock halign-left valign-top" ><p class="tableblock">(std::string const&amp; <span class="monospaced">f1</span>, std::string const&amp; <span class="monospaced">f2</span>)</p></td>
+<td class="tableblock halign-left valign-top" ><p class="tableblock">void</p></td>
+<td class="tableblock halign-left valign-top" ><p class="tableblock">依照 <span class="monospaced">a0.txt &lt; a1.txt &lt; a2.txt &lt; a10.txt</span> 的字串比較方法比較字串</p></td>
</tr>
</tbody>
</table>
@@ -950,11 +947,6 @@ double <span class="monospaced">u2</span>)</p></td>
<span class="monospaced">stringReplace()</span> 不是用什麼好方法寫的因此執行效率很低請別虐待它.
</p>
</li>
-<li>
-<p>
-額外附贈一個 <span class="monospaced">const double PI = 3.141592653589......</span>
-</p>
-</li>
</ul></div>
</td>
</tr></table>
@@ -2910,6 +2902,109 @@ width:100%;
<hr>
</div>
</div>
+<div class="sect2">
+<h3 id="_meow_strong_functios_strong_in_math_utility_h">meow:: <strong>Functios</strong> in math/utility.h</h3>
+<table class="tableblock frame-all grid-rows"
+style="
+width:100%;
+">
+<col style="width:5%;">
+<col style="width:29%;">
+<col style="width:5%;">
+<col style="width:58%;">
+<thead>
+<tr>
+<th class="tableblock halign-right valign-top" >Name </th>
+<th class="tableblock halign-left valign-top" > Parameters </th>
+<th class="tableblock halign-left valign-top" > Return_Type </th>
+<th class="tableblock halign-left valign-top" > Description</th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td class="tableblock halign-right valign-top" ><p class="tableblock"><strong>noEPS&lt;T&gt;</strong></p></td>
+<td class="tableblock halign-left valign-top" ><p class="tableblock">(T <span class="monospaced">value</span>, T <span class="monospaced">eps</span> = 1e-9)</p></td>
+<td class="tableblock halign-left valign-top" ><p class="tableblock">T</p></td>
+<td class="tableblock halign-left valign-top" ><p class="tableblock">如果abs(輸入的數值) &lt; eps, 則回傳0, 否則回傳輸入的數值</p></td>
+</tr>
+<tr>
+<td class="tableblock halign-right valign-top" ><p class="tableblock"><strong>normalize&lt;T&gt;</strong></p></td>
+<td class="tableblock halign-left valign-top" ><p class="tableblock">(T <span class="monospaced">lower</span>, T <span class="monospaced">upper</span>, <br>
+ T value)</p></td>
+<td class="tableblock halign-left valign-top" ><p class="tableblock">T</p></td>
+<td class="tableblock halign-left valign-top" ><p class="tableblock"><span class="monospaced">(value - lower) / (upper - lower)</span></p></td>
+</tr>
+<tr>
+<td class="tableblock halign-right valign-top" ><p class="tableblock"><strong>denormalize&lt;T&gt;</strong></p></td>
+<td class="tableblock halign-left valign-top" ><p class="tableblock">(T <span class="monospaced">lower</span>, T <span class="monospaced">upper</span>,
+<br>
+ T <span class="monospaced">ratio</span>)</p></td>
+<td class="tableblock halign-left valign-top" ><p class="tableblock">T</p></td>
+<td class="tableblock halign-left valign-top" ><p class="tableblock"><span class="monospaced">lower + (upper - lower) * ratio</span></p></td>
+</tr>
+<tr>
+<td class="tableblock halign-right valign-top" ><p class="tableblock"><strong>ratioMapping&lt;T&gt;</strong></p></td>
+<td class="tableblock halign-left valign-top" ><p class="tableblock">(T <span class="monospaced">l1</span>, T <span class="monospaced">u1</span>,
+<br>
+T <span class="monospaced">m1</span>, T <span class="monospaced">l2</span>,<br>
+T <span class="monospaced">u2</span>)</p></td>
+<td class="tableblock halign-left valign-top" ><p class="tableblock">T</p></td>
+<td class="tableblock halign-left valign-top" ><p class="tableblock"><span class="monospaced">denormalize(l2, u2, normalize(l1, u1, m1))</span></p></td>
+</tr>
+<tr>
+<td class="tableblock halign-right valign-top" ><p class="tableblock"><strong>inRange&lt;T&gt;</strong></p></td>
+<td class="tableblock halign-left valign-top" ><p class="tableblock">(T const&amp; <span class="monospaced">mn</span>, T const&amp; <span class="monospaced">mx</span>, <br>
+ T const&amp; <span class="monospaced">v</span>)</p></td>
+<td class="tableblock halign-left valign-top" ><p class="tableblock">T</p></td>
+<td class="tableblock halign-left valign-top" ><p class="tableblock"><span class="monospaced">std::max(mn, std::min(mx, v))</span></p></td>
+</tr>
+<tr>
+<td class="tableblock halign-right valign-top" ><p class="tableblock"><strong>squ&lt;T&gt;</strong></p></td>
+<td class="tableblock halign-left valign-top" ><p class="tableblock">(T const&amp; <span class="monospaced">x</span>)</p></td>
+<td class="tableblock halign-left valign-top" ><p class="tableblock">T</p></td>
+<td class="tableblock halign-left valign-top" ><p class="tableblock"><span class="monospaced">x * x</span></p></td>
+</tr>
+<tr>
+<td class="tableblock halign-right valign-top" ><p class="tableblock"><strong>cub&lt;T&gt;</strong></p></td>
+<td class="tableblock halign-left valign-top" ><p class="tableblock">(T const&amp; <span class="monospaced">x</span>)</p></td>
+<td class="tableblock halign-left valign-top" ><p class="tableblock">T</p></td>
+<td class="tableblock halign-left valign-top" ><p class="tableblock"><span class="monospaced">x * x * x</span></p></td>
+</tr>
+<tr>
+<td class="tableblock halign-right valign-top" ><p class="tableblock"><strong>average&lt;T&gt;</strong></p></td>
+<td class="tableblock halign-left valign-top" ><p class="tableblock">(T const&amp; <span class="monospaced">beg</span>, T const&amp; <span class="monospaced">end</span>, <br>
+ double <span class="monospaced">sigs</span>)</p></td>
+<td class="tableblock halign-left valign-top" ><p class="tableblock">T</p></td>
+<td class="tableblock halign-left valign-top" ><p class="tableblock">只將 <span class="monospaced">sigs</span> 個標準差以內的數據拿來取平均</p></td>
+</tr>
+<tr>
+<td class="tableblock halign-right valign-top" ><p class="tableblock"><strong>average&lt;T&gt;</strong></p></td>
+<td class="tableblock halign-left valign-top" ><p class="tableblock">(T const&amp; <span class="monospaced">beg</span>, T const&amp; <span class="monospaced">end</span>,
+<br>
+ T const&amp; <span class="monospaced">p</span>, double <span class="monospaced">sigs</span>)</p></td>
+<td class="tableblock halign-left valign-top" ><p class="tableblock">T</p></td>
+<td class="tableblock halign-left valign-top" ><p class="tableblock">同上, 不過這次用 <span class="monospaced">p</span> 來加權平均</p></td>
+</tr>
+</tbody>
+</table>
+<div class="admonitionblock">
+<table><tr>
+<td class="icon">
+<div class="title">Note</div>
+</td>
+<td class="content">
+<div class="ulist"><ul>
+<li>
+<p>
+額外附贈一個 <span class="monospaced">const double PI = 3.141592653589......</span>
+</p>
+</li>
+</ul></div>
+</td>
+</tr></table>
+</div>
+<hr>
+</div>
</div>
</div>
<div class="sect1">
@@ -2995,7 +3090,7 @@ E-Mail: cat.hook31894 ~在~ gmail.com
<div id="footnotes"><hr></div>
<div id="footer">
<div id="footer-text">
-Last updated 2014-04-26 15:13:32 CST
+Last updated 2014-05-01 05:12:39 CST
</div>
</div>
</body>