etk/class_etk__Matrix__template_T__.html
2014-10-18 09:21:19 +02:00

206 lines
12 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<title>etk Library</title>
<link rel="stylesheet" href="base.css">
<link rel="stylesheet" href="menu.css">
</head>
<body>
<div class="navbar navbar-fixed-top">
<div class="container">
<h1><a href="index.html">etk library</a></h1>
<h4><a href="http://github.com/heeroyui/etk/">&nbsp;&nbsp;&nbsp;[ sources ]</a></h4>
<h3>API:</h3> <div id="menu">
<ul class="niveau1">
<li class="sousmenu"><a href="namespace_etk.html">etk</a>
<ul class="niveau2">
<li><a href="namespace_etk__log.html">log</a>
</li>
<li><a href="namespace_etk__color.html">color</a>
</li>
<li><a href="namespace_etk__tool.html">tool</a>
</li>
<li><a href="namespace_etk__archive.html">archive</a>
</li>
<li><a href="namespace_etk__theme.html">theme</a>
</li>
</ul>
</li>
<li><a href="namespace_u32char.html">u32char</a>
</li>
<li><a href="namespace_utf8.html">utf8</a>
</li>
<li><a href="namespace_std.html">std</a>
</li>
</ul>
</div>
<br/><h3>Associate libraries:</h3><div id="menu">
<ul class="niveau1"><li><a href="../ewol/index.html">ewol</a></li>
</ul><ul class="niveau1"><li><a href="../ejson/index.html">ejson</a></li>
</ul><ul class="niveau1"><li><a href="../egami/index.html">egami</a></li>
</ul><ul class="niveau1"><li><a href="../ege/index.html">ege</a></li>
</ul><ul class="niveau1"><li><a href="../esvg/index.html">esvg</a></li>
</ul><ul class="niveau1"><li><a href="../exml/index.html">exml</a></li>
</ul></div>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
</div>
</div>
<div class="container" id="content">
<h1>class: etk::template&lt;T&gt Matrix</h1><hr/><h2>Description:</h2>
<br/><br/>
<h2>Synopsis:</h2>
<pre>
+ <a class="code-function" href="#6294">Matrix</a> (Vector2D&lt;int32_t&gt; <span class="code-argument">size</span>,<br/> <span class="code-type" >T</span>* <span class="code-argument">defaultVal</span>);<br/>+ <a class="code-function" href="#6297">Matrix</a> (<span class="code-type" >int32_t</span> <span class="code-argument">width</span>,<br/> <span class="code-type" >int32_t</span> <span class="code-argument">heigh</span>,<br/> <span class="code-type" >T</span>* <span class="code-argument">defaultVal</span>);<br/>+ <a class="code-function" href="#6301">Matrix</a> (<span class="code-storage-keyword">const</span> Matrix&lt;double&gt; & <span class="code-argument">obj</span>);<br/>+ <a class="code-function" href="#6303">Matrix</a> (<span class="code-storage-keyword">const</span> Matrix&lt;float&gt; & <span class="code-argument">obj</span>);<br/>+ <a class="code-function" href="#6305">Matrix</a> (<span class="code-storage-keyword">const</span> Matrix&lt;int32_t&gt; & <span class="code-argument">obj</span>);<br/>+ <span class="code-storage-keyword">virtual</span> <a class="code-function" href="#6307">~Matrix</a> ();<br/>+ <span class="code-storage-keyword">const</span> Matrix&lt;T&gt; & <a class="code-function" href="#6308">operator =</a> (<span class="code-storage-keyword">const</span> Matrix&lt;T&gt; & <span class="code-argument">obj</span>);<br/>+ <span class="code-storage-keyword">const</span> Matrix&lt;T&gt; & <a class="code-function" href="#6310">operator =</a> (<span class="code-type" >T</span> & <span class="code-argument">value</span>);<br/>+ <span class="code-type" >bool</span> <a class="code-function" href="#6312">operator ==</a> (<span class="code-storage-keyword">const</span> Matrix&lt;T&gt; & <span class="code-argument">obj</span>) <span class="code-storage-keyword">const</span>;<br/>+ <span class="code-type" >bool</span> <a class="code-function" href="#6314">operator !=</a> (<span class="code-storage-keyword">const</span> Matrix&lt;T&gt; & <span class="code-argument">obj</span>) <span class="code-storage-keyword">const</span>;<br/>+ <span class="code-storage-keyword">const</span> Matrix&lt;T&gt; & <a class="code-function" href="#6316">operator +=</a> (<span class="code-storage-keyword">const</span> Matrix&lt;T&gt; & <span class="code-argument">obj</span>);<br/>+ Matrix&lt;T&gt; <a class="code-function" href="#6318">operator +</a> (<span class="code-storage-keyword">const</span> Matrix&lt;T&gt; & <span class="code-argument">obj</span>);<br/>+ <span class="code-storage-keyword">const</span> Matrix&lt;T&gt; & <a class="code-function" href="#6320">operator -=</a> (<span class="code-storage-keyword">const</span> Matrix&lt;T&gt; & <span class="code-argument">obj</span>);<br/>+ Matrix&lt;T&gt; <a class="code-function" href="#6322">operator -</a> (<span class="code-storage-keyword">const</span> Matrix&lt;T&gt; & <span class="code-argument">obj</span>);<br/>+ <span class="code-storage-keyword">const</span> Matrix&lt;T&gt; & <a class="code-function" href="#6324">operator *=</a> (<span class="code-storage-keyword">const</span> Matrix&lt;T&gt; & <span class="code-argument">obj</span>);<br/>+ Matrix&lt;T&gt; <a class="code-function" href="#6326">operator *</a> (<span class="code-storage-keyword">const</span> Matrix&lt;T&gt; & <span class="code-argument">obj</span>);<br/>+ <span class="code-storage-keyword">const</span> <span class="code-type" >T</span>* <a class="code-function" href="#6328">operator [ ]</a> (<span class="code-type" >int32_t</span> <span class="code-argument">line</span>) <span class="code-storage-keyword">const</span>;<br/>+ <span class="code-type" >T</span>* <a class="code-function" href="#6330">operator [ ]</a> (<span class="code-type" >int32_t</span> <span class="code-argument">line</span>);<br/>+ <span class="code-type" >T</span> & <a class="code-function" href="#6332">operator</a> ()(int32_tline,int32_t <span class="code-argument">colomn</span>);<br/>+ Matrix&lt;T&gt; <a class="code-function" href="#6334">operator -</a> ();<br/>+ <span class="code-type" >void</span> <a class="code-function" href="#6335">clearLowerTriangle</a> ();<br/></pre>
<br/>
<h2>Detail:</h2>
<a id="6294"/><a id="6297"/><h3>Matrix</h3><pre>
+ <span class="code-function">Matrix</span> (Vector2D&lt;int32_t&gt; <span class="code-argument">size</span>,<br/> <span class="code-type" >T</span>* <span class="code-argument">defaultVal</span>);<br/></pre>
Constructor<br/>
<br/>
<hr/>
<a id="6301"/><h3>Matrix</h3><pre>
+ <span class="code-function">Matrix</span> (<span class="code-type" >int32_t</span> <span class="code-argument">width</span>,<br/> <span class="code-type" >int32_t</span> <span class="code-argument">heigh</span>,<br/> <span class="code-type" >T</span>* <span class="code-argument">defaultVal</span>);<br/></pre>
<br/>
<br/>
<hr/>
<a id="6303"/><h3>Matrix</h3><pre>
+ <span class="code-function">Matrix</span> (<span class="code-storage-keyword">const</span> Matrix&lt;double&gt; & <span class="code-argument">obj</span>);<br/></pre>
<br/>
<br/>
<hr/>
<a id="6305"/><h3>Matrix</h3><pre>
+ <span class="code-function">Matrix</span> (<span class="code-storage-keyword">const</span> Matrix&lt;float&gt; & <span class="code-argument">obj</span>);<br/></pre>
<br/>
<br/>
<hr/>
<a id="6307"/><h3>Matrix</h3><pre>
+ <span class="code-function">Matrix</span> (<span class="code-storage-keyword">const</span> Matrix&lt;int32_t&gt; & <span class="code-argument">obj</span>);<br/></pre>
<br/>
<br/>
<hr/>
<a id="6308"/><h3>~Matrix</h3><pre>
+ <span class="code-storage-keyword">virtual</span> <span class="code-function">~Matrix</span> ();<br/></pre>
Destructor<br/>
<br/>
<hr/>
<a id="6310"/><h3>operator =</h3><pre>
+ <span class="code-storage-keyword">const</span> Matrix&lt;T&gt; & <span class="code-function">operator =</span> (<span class="code-storage-keyword">const</span> Matrix&lt;T&gt; & <span class="code-argument">obj</span>);<br/></pre>
= assigment<br/>
<br/>
<hr/>
<a id="6312"/><h3>operator =</h3><pre>
+ <span class="code-storage-keyword">const</span> Matrix&lt;T&gt; & <span class="code-function">operator =</span> (<span class="code-type" >T</span> & <span class="code-argument">value</span>);<br/></pre>
<br/>
<br/>
<hr/>
<a id="6314"/><h3>operator ==</h3><pre>
+ <span class="code-type" >bool</span> <span class="code-function">operator ==</span> (<span class="code-storage-keyword">const</span> Matrix&lt;T&gt; & <span class="code-argument">obj</span>) <span class="code-storage-keyword">const</span>;<br/></pre>
== operator<br/>
<br/>
<hr/>
<a id="6316"/><h3>operator !=</h3><pre>
+ <span class="code-type" >bool</span> <span class="code-function">operator !=</span> (<span class="code-storage-keyword">const</span> Matrix&lt;T&gt; & <span class="code-argument">obj</span>) <span class="code-storage-keyword">const</span>;<br/></pre>
!= operator<br/>
<br/>
<hr/>
<a id="6318"/><h3>operator +=</h3><pre>
+ <span class="code-storage-keyword">const</span> Matrix&lt;T&gt; & <span class="code-function">operator +=</span> (<span class="code-storage-keyword">const</span> Matrix&lt;T&gt; & <span class="code-argument">obj</span>);<br/></pre>
+= operator<br/>
<br/>
<hr/>
<a id="6320"/><h3>operator +</h3><pre>
+ Matrix&lt;T&gt; <span class="code-function">operator +</span> (<span class="code-storage-keyword">const</span> Matrix&lt;T&gt; & <span class="code-argument">obj</span>);<br/></pre>
+ operator<br/>
<br/>
<hr/>
<a id="6322"/><h3>operator -=</h3><pre>
+ <span class="code-storage-keyword">const</span> Matrix&lt;T&gt; & <span class="code-function">operator -=</span> (<span class="code-storage-keyword">const</span> Matrix&lt;T&gt; & <span class="code-argument">obj</span>);<br/></pre>
-= operator<br/>
<br/>
<hr/>
<a id="6324"/><h3>operator -</h3><pre>
+ Matrix&lt;T&gt; <span class="code-function">operator -</span> (<span class="code-storage-keyword">const</span> Matrix&lt;T&gt; & <span class="code-argument">obj</span>);<br/></pre>
- operator<br/>
<br/>
<hr/>
<a id="6326"/><h3>operator *=</h3><pre>
+ <span class="code-storage-keyword">const</span> Matrix&lt;T&gt; & <span class="code-function">operator *=</span> (<span class="code-storage-keyword">const</span> Matrix&lt;T&gt; & <span class="code-argument">obj</span>);<br/></pre>
= operator<br/>
<br/>
<hr/>
<a id="6328"/><h3>operator *</h3><pre>
+ Matrix&lt;T&gt; <span class="code-function">operator *</span> (<span class="code-storage-keyword">const</span> Matrix&lt;T&gt; & <span class="code-argument">obj</span>);<br/></pre>
operator<br/>
<br/>
<hr/>
<a id="6330"/><h3>operator [ ]</h3><pre>
+ <span class="code-storage-keyword">const</span> <span class="code-type" >T</span>* <span class="code-function">operator [ ]</span> (<span class="code-type" >int32_t</span> <span class="code-argument">line</span>) <span class="code-storage-keyword">const</span>;<br/></pre>
[] operator<br/>
<br/>
<hr/>
<a id="6332"/><h3>operator [ ]</h3><pre>
+ <span class="code-type" >T</span>* <span class="code-function">operator [ ]</span> (<span class="code-type" >int32_t</span> <span class="code-argument">line</span>);<br/></pre>
<br/>
<br/>
<hr/>
<a id="6334"/><h3>operator</h3><pre>
+ <span class="code-type" >T</span> & <span class="code-function">operator</span> ()(int32_tline,int32_t <span class="code-argument">colomn</span>);<br/></pre>
() operator<br/>
<br/>
<hr/>
<a id="6335"/><h3>operator -</h3><pre>
+ Matrix&lt;T&gt; <span class="code-function">operator -</span> ();<br/></pre>
- operator<br/>
<br/>
<hr/>
<h3>clearLowerTriangle</h3><pre>
+ <span class="code-type" >void</span> <span class="code-function">clearLowerTriangle</span> ();<br/></pre>
Clear the Lower triangle of the current Matrix
&lt;pre&gt;
x x x x x
0 x x x x
0 0 x x x
0 0 0 x x
0 0 0 0 x
&lt;/pre&gt;<br/>
<br/>
<hr/>
</div>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-46753803-1', 'heeroyui.github.io');
ga('send', 'pageview');
</script>
</body>
</html>