aboutsummaryrefslogtreecommitdiffstats
path: root/classyage_1_1Matrix.html
blob: b90c92a479dd7bb13a637fda5cb53e63408e2e67 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>YAGE: yage::Matrix&lt; Rows, Cols, Type &gt; Class Template Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">YAGE
   &#160;<span id="projectnumber">0.02</span>
   </div>
   <div id="projectbrief">Yet Another Game Engine</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><b>yage</b></li><li class="navelem"><a class="el" href="classyage_1_1Matrix.html">Matrix</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-attribs">Protected Attributes</a> &#124;
<a href="classyage_1_1Matrix-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">yage::Matrix&lt; Rows, Cols, Type &gt; Class Template Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Base <a class="el" href="classyage_1_1Matrix.html" title="Base Matrix class used by other similar classes. ">Matrix</a> class used by other similar classes.  
 <a href="classyage_1_1Matrix.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="matrix_8hpp_source.html">matrix.hpp</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a73b7d1f94f4f72a2294b71b3a35794ad"><td class="memItemLeft" align="right" valign="top"><a id="a73b7d1f94f4f72a2294b71b3a35794ad"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classyage_1_1Matrix.html#a73b7d1f94f4f72a2294b71b3a35794ad">Matrix</a> ()</td></tr>
<tr class="memdesc:a73b7d1f94f4f72a2294b71b3a35794ad"><td class="mdescLeft">&#160;</td><td class="mdescRight">Initializes the size of the data_ vector. <br /></td></tr>
<tr class="separator:a73b7d1f94f4f72a2294b71b3a35794ad"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acaf0837fade0cb4179603b97ac224965"><td class="memItemLeft" align="right" valign="top"><a id="acaf0837fade0cb4179603b97ac224965"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classyage_1_1Matrix.html#acaf0837fade0cb4179603b97ac224965">rowSize</a> () const</td></tr>
<tr class="memdesc:acaf0837fade0cb4179603b97ac224965"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the row size of the <a class="el" href="classyage_1_1Matrix.html" title="Base Matrix class used by other similar classes. ">Matrix</a>. <br /></td></tr>
<tr class="separator:acaf0837fade0cb4179603b97ac224965"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2753285bcc49a050a49976a6dbc8e89a"><td class="memItemLeft" align="right" valign="top"><a id="a2753285bcc49a050a49976a6dbc8e89a"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classyage_1_1Matrix.html#a2753285bcc49a050a49976a6dbc8e89a">colSize</a> () const</td></tr>
<tr class="memdesc:a2753285bcc49a050a49976a6dbc8e89a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the column size of the Matrixxs. <br /></td></tr>
<tr class="separator:a2753285bcc49a050a49976a6dbc8e89a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adffb22a99417271958621ff1f51b7f08"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classyage_1_1Matrix.html">Matrix</a>&lt; 1, Cols, Type &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classyage_1_1Matrix.html#adffb22a99417271958621ff1f51b7f08">getRow</a> (int row) const</td></tr>
<tr class="memdesc:adffb22a99417271958621ff1f51b7f08"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the row specified row as a <a class="el" href="classyage_1_1Matrix.html" title="Base Matrix class used by other similar classes. ">Matrix</a> with only one row.  <a href="#adffb22a99417271958621ff1f51b7f08">More...</a><br /></td></tr>
<tr class="separator:adffb22a99417271958621ff1f51b7f08"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr class="memitem:a0ab11922319366f6e74f6e9e7d7abeed"><td class="memItemLeft" align="right" valign="top"><a id="a0ab11922319366f6e74f6e9e7d7abeed"></a>
std::vector&lt; Type &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classyage_1_1Matrix.html#a0ab11922319366f6e74f6e9e7d7abeed">data_</a></td></tr>
<tr class="memdesc:a0ab11922319366f6e74f6e9e7d7abeed"><td class="mdescLeft">&#160;</td><td class="mdescRight">Vector containing the data of the matrix. <br /></td></tr>
<tr class="separator:a0ab11922319366f6e74f6e9e7d7abeed"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><h3>template&lt;int Rows = 4, int Cols = 4, class Type = double&gt;<br />
class yage::Matrix&lt; Rows, Cols, Type &gt;</h3>

<p>Base <a class="el" href="classyage_1_1Matrix.html" title="Base Matrix class used by other similar classes. ">Matrix</a> class used by other similar classes. </p>
<h1><a class="el" href="classyage_1_1Matrix.html" title="Base Matrix class used by other similar classes. ">Matrix</a> class </h1>
<p>This is the base matrix class that can be used by all the other matrix like data structures. </p>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a id="adffb22a99417271958621ff1f51b7f08"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adffb22a99417271958621ff1f51b7f08">&#9670;&nbsp;</a></span>getRow()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;int Rows = 4, int Cols = 4, class Type = double&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classyage_1_1Matrix.html">Matrix</a>&lt;1, Cols, Type&gt; <a class="el" href="classyage_1_1Matrix.html">yage::Matrix</a>&lt; Rows, Cols, Type &gt;::getRow </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>row</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Return the row specified row as a <a class="el" href="classyage_1_1Matrix.html" title="Base Matrix class used by other similar classes. ">Matrix</a> with only one row. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">row</td><td>Row number to be returned</td></tr>
  </table>
  </dd>
</dl>
<p>Returns the row that is specified by the row variables. </p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>include/YAGE/Math/<a class="el" href="matrix_8hpp_source.html">matrix.hpp</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Mon Jul 31 2017 20:56:38 for YAGE by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.13
</small></address>
</body>
</html>