1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2<html xml:lang="en-US" lang="en-US" xmlns="http://www.w3.org/1999/xhtml">
3  <head>
4    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
5    <meta http-equiv="Content-Style-Type" content="text/css" />
6    <link rel="stylesheet" href="../../../css/manpage.css" type="text/css" />
7    <style type="text/css"><!--
8      span.static_style
9      {
10        font-size			: 8pt;
11        color				: white;
12        font-weight			: bold;
13        background			: #44f;
14        border-left			: solid 1px #aaf;
15        border-top			: solid 1px #aaf;
16        border-right		: solid 1px #00c;
17        border-bottom		: solid 1px #00c;
18        padding-left		: 2px;
19        padding-right		: 2px;
20      }
21
22      span.virtual_style
23      {
24        font-size			 : 8pt;
25        color				 : white;
26        font-weight			: bold;
27        background			: #0a0;
28        border-left			: solid 1px #0f0;
29        border-top			: solid 1px #0f0;
30        border-right		: solid 1px #060;
31        border-bottom		: solid 1px #060;
32        padding-left		: 2px;
33        padding-right		: 2px;
34      }
35
36      span.protected_style
37      {
38        font-size			 : 8pt;
39        color				 : white;
40        font-weight			: bold;
41        background			: #444;
42        border-left			: solid 1px #ccc;
43        border-top			: solid 1px #ccc;
44        border-right		: solid 1px #222;
45        border-bottom		: solid 1px #222;
46        padding-left		: 2px;
47        padding-right		: 2px;
48      }
49        --></style>
50<title>nn::math::MTX22</title>
51  </head>
52  <body>
53<h1><CODE><a href="../../../nn/Overview.html">nn</a>::<a href="../../../nn/math/Overview.html">math</a>::MTX22</CODE> Class</h1>
54<h2>Syntax</h2>
55    <div class="section">
56      <pre class="definition">class MTX22 : public <a href="../../../nn/math/MTX22_/Overview.html">nn::math::MTX22_</a></pre>
57    </div>
58<h2>Description</h2>
59    <div class="section">
60<p>A 2x2 matrix class.</p><!-- write here --></div>
61    <a name="typedef" id="typedef">
62<h2><CODE>typedef</CODE> Definitions</h2>
63      <div class="section">
64        <table class="members">
65          <tr>
66            <td width="100" />
67            <th>
68<a href="../../../nn/math/MTX22/self_type.html"><CODE>self_type</CODE></a>
69            </th>
70<td>This class's type.</td>
71          </tr>
72          <tr>
73            <td width="100" />
74            <th>
75<a href="../../../nn/math/MTX22/value_type.html"><CODE>value_type</CODE></a>
76            </th>
77<td>The type of this class's elements.</td>
78          </tr> </table>
79      </div>
80    </a> <a name="constant" id="constant">
81<h2>Member Constants</h2>
82      <div class="section">
83        <table class="members">
84          <tr>
85            <td width="100">
86<span class="static_style" title="static">S</span>
87            </td>
88            <th>
89<span class="argument"><a href="../../../nn/math/MTX22/ROW_COUNT.html"><CODE>ROW_COUNT</CODE></a></span>
90            </th>
91<td width="100">const int</td>
92<td>The number of rows.</td>
93          </tr>
94          <tr>
95            <td width="100">
96<span class="static_style" title="static">S</span>
97            </td>
98            <th>
99<span class="argument"><a href="../../../nn/math/MTX22/COLUMN_COUNT.html"><CODE>COLUMN_COUNT</CODE></a></span>
100            </th>
101<td width="100">const int</td>
102<td>The number of columns.</td>
103          </tr> </table>
104      </div>
105    </a> <a name="function" id="function">
106<h2>Member Functions</h2>
107      <div class="section">
108        <table class="members">
109          <tr>
110<th class="category" colspan="3">Creation</th>
111          </tr>
112          <tr>
113            <td width="100">  </td>
114            <th>
115<a href="../../../nn/math/MTX22/MTX22.html"><CODE>MTX22</CODE></a>
116            </th>
117<td>Constructor.</td>
118          </tr>
119          <tr>
120<th class="category" colspan="3">Conversions</th>
121          </tr>
122          <tr>
123            <td width="100">  </td>
124            <th>
125<a href="../../../nn/math/MTX22/operator f32 -2a.html"><CODE>operator f32 *</CODE></a>
126            </th>
127<td>Casts to an <CODE>f32</CODE>-type value.</td>
128          </tr>
129          <tr>
130            <td width="100">  </td>
131            <th>
132<a href="../../../nn/math/MTX22/operator const f32 -2a.html"><CODE>operator const f32 *</CODE></a>
133            </th>
134<td>Casts to an <CODE>f32</CODE>-type value.</td>
135          </tr>
136          <tr>
137            <td width="100">  </td>
138            <th>
139<a href="../../../nn/math/MTX22/GetRow.html"><CODE>GetRow</CODE></a>
140            </th>
141<td>Gets a row as a <CODE><a href="../../../nn/math/VEC2/Overview.html">VEC2</a></CODE>-type value.</td>
142          </tr>
143          <tr>
144            <td width="100">  </td>
145            <th>
146<a href="../../../nn/math/MTX22/GetColumn.html"><CODE>GetColumn</CODE></a>
147            </th>
148<td>Gets a column as a <CODE><a href="../../../nn/math/VEC4/Overview.html">VEC2</a></CODE>-type value.</td>
149          </tr>
150          <tr>
151            <td width="100">  </td>
152            <th>
153<a href="../../../nn/math/MTX22/SetColumn.html"><CODE>SetColumn</CODE></a>
154            </th>
155<td>Sets a column as a <CODE><a href="../../../nn/math/VEC2/Overview.html">VEC2</a></CODE>-type value.</td>
156          </tr>
157          <tr>
158<th class="category" colspan="3">Settings</th>
159          </tr>
160          <tr>
161            <td width="100">  </td>
162            <th>
163<a href="../../../nn/math/MTX22/SetupIdentity.html"><CODE>SetupIdentity</CODE></a>
164            </th>
165<td>Sets as the identity matrix.</td>
166          </tr>
167          <tr>
168<th class="category" colspan="3">Comparisons</th>
169          </tr>
170          <tr>
171            <td width="100">  </td>
172            <th>
173<a href="../../../nn/math/MTX22/operator==.html"><CODE>operator==</CODE></a>
174            </th>
175<td>Returns <CODE>true</CODE> if the values are equal.</td>
176          </tr>
177          <tr>
178            <td width="100">  </td>
179            <th>
180<a href="../../../nn/math/MTX22/operator!=.html"><CODE>operator!=</CODE></a>
181            </th>
182<td>Returns <CODE>true</CODE> if the values are not equal.</td>
183          </tr>
184          <tr>
185            <td width="100">  </td>
186            <th>
187<a href="../../../nn/math/MTX22/IsIdentity.html"><CODE>IsIdentity</CODE></a>
188            </th>
189<td>Returns <CODE>true</CODE> if this is an identity matrix.</td>
190          </tr>
191          <tr>
192<th class="category" colspan="3">Other</th>
193          </tr>
194          <tr>
195            <td width="100">
196<span class="static_style" title="static">S</span> </td>
197            <th>
198<a href="../../../nn/math/MTX22/Identity.html"><CODE>Identity</CODE></a>
199            </th>
200<td>The identity matrix.</td>
201          </tr>
202          <tr>
203            <td width="100">  </td>
204            <th>
205<a href="../../../nn/math/MTX22/Report.html"><CODE>Report</CODE></a>
206            </th>
207<td>Outputs the state.</td>
208          </tr> </table>
209      </div>
210    </a>
211<h2>Class Hierarchy</h2>
212    <div class="section">
213<p class="hierarchy"><CODE><a href="../../../nn/math/MTX22_/Overview.html">nn::math::MTX22_</a><br />&nbsp;&nbsp;<b>nn::math::MTX22</b></CODE>
214      </p>
215    </div>
216<h2>Revision History</h2>
217    <div class="section">
218      <dl class="history">
219        <dt>2010/01/29</dt>
220<dd>Initial version.<br />
221        </dd>
222      </dl>
223    </div>
224  <hr><p>CONFIDENTIAL</p></body>
225</html>