Platformer in OpenGL
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

185 lines
9.5 KiB

5 years ago
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
  5. <meta http-equiv="X-UA-Compatible" content="IE=9"/>
  6. <meta name="generator" content="Doxygen 1.8.14"/>
  7. <meta name="viewport" content="width=device-width, initial-scale=1"/>
  8. <title>0.9.9 API documenation: GLM_GTX_matrix_factorisation</title>
  9. <link href="tabs.css" rel="stylesheet" type="text/css"/>
  10. <script type="text/javascript" src="jquery.js"></script>
  11. <script type="text/javascript" src="dynsections.js"></script>
  12. <link href="search/search.css" rel="stylesheet" type="text/css"/>
  13. <script type="text/javascript" src="search/searchdata.js"></script>
  14. <script type="text/javascript" src="search/search.js"></script>
  15. <link href="doxygen.css" rel="stylesheet" type="text/css" />
  16. </head>
  17. <body>
  18. <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
  19. <div id="titlearea">
  20. <table cellspacing="0" cellpadding="0">
  21. <tbody>
  22. <tr style="height: 56px;">
  23. <td id="projectlogo"><img alt="Logo" src="logo-mini.png"/></td>
  24. <td id="projectalign" style="padding-left: 0.5em;">
  25. <div id="projectname">0.9.9 API documenation
  26. </div>
  27. </td>
  28. </tr>
  29. </tbody>
  30. </table>
  31. </div>
  32. <!-- end header part -->
  33. <!-- Generated by Doxygen 1.8.14 -->
  34. <script type="text/javascript">
  35. /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  36. var searchBox = new SearchBox("searchBox", "search",false,'Search');
  37. /* @license-end */
  38. </script>
  39. <script type="text/javascript" src="menudata.js"></script>
  40. <script type="text/javascript" src="menu.js"></script>
  41. <script type="text/javascript">
  42. /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  43. $(function() {
  44. initMenu('',true,false,'search.php','Search');
  45. $(document).ready(function() { init_search(); });
  46. });
  47. /* @license-end */</script>
  48. <div id="main-nav"></div>
  49. </div><!-- top -->
  50. <!-- window showing the filter options -->
  51. <div id="MSearchSelectWindow"
  52. onmouseover="return searchBox.OnSearchSelectShow()"
  53. onmouseout="return searchBox.OnSearchSelectHide()"
  54. onkeydown="return searchBox.OnSearchSelectKey(event)">
  55. </div>
  56. <!-- iframe showing the search results (closed by default) -->
  57. <div id="MSearchResultsWindow">
  58. <iframe src="javascript:void(0)" frameborder="0"
  59. name="MSearchResults" id="MSearchResults">
  60. </iframe>
  61. </div>
  62. <div class="header">
  63. <div class="summary">
  64. <a href="#func-members">Functions</a> </div>
  65. <div class="headertitle">
  66. <div class="title">GLM_GTX_matrix_factorisation<div class="ingroups"><a class="el" href="a00705.html">Experimental extensions</a></div></div> </div>
  67. </div><!--header-->
  68. <div class="contents">
  69. <table class="memberdecls">
  70. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
  71. Functions</h2></td></tr>
  72. <tr class="memitem:gaf39f4e5f78eb29c1a90277d45b9b3feb"><td class="memTemplParams" colspan="2">template&lt;length_t C, length_t R, typename T , qualifier Q&gt; </td></tr>
  73. <tr class="memitem:gaf39f4e5f78eb29c1a90277d45b9b3feb"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL mat&lt; C, R, T, Q &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00753.html#gaf39f4e5f78eb29c1a90277d45b9b3feb">fliplr</a> (mat&lt; C, R, T, Q &gt; const &amp;in)</td></tr>
  74. <tr class="separator:gaf39f4e5f78eb29c1a90277d45b9b3feb"><td class="memSeparator" colspan="2">&#160;</td></tr>
  75. <tr class="memitem:ga85003371f0ba97380dd25e8905de1870"><td class="memTemplParams" colspan="2">template&lt;length_t C, length_t R, typename T , qualifier Q&gt; </td></tr>
  76. <tr class="memitem:ga85003371f0ba97380dd25e8905de1870"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL mat&lt; C, R, T, Q &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00753.html#ga85003371f0ba97380dd25e8905de1870">flipud</a> (mat&lt; C, R, T, Q &gt; const &amp;in)</td></tr>
  77. <tr class="separator:ga85003371f0ba97380dd25e8905de1870"><td class="memSeparator" colspan="2">&#160;</td></tr>
  78. <tr class="memitem:ga77022dca1aa38add548f9f56a9f8071a"><td class="memTemplParams" colspan="2">template&lt;length_t C, length_t R, typename T , qualifier Q&gt; </td></tr>
  79. <tr class="memitem:ga77022dca1aa38add548f9f56a9f8071a"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00753.html#ga77022dca1aa38add548f9f56a9f8071a">qr_decompose</a> (mat&lt; C, R, T, Q &gt; const &amp;in, mat&lt;(C&lt; R ? C :R), R, T, Q &gt; &amp;q, mat&lt; C,(C&lt; R ? C :R), T, Q &gt; &amp;r)</td></tr>
  80. <tr class="separator:ga77022dca1aa38add548f9f56a9f8071a"><td class="memSeparator" colspan="2">&#160;</td></tr>
  81. <tr class="memitem:ga4e022709c9e7eaad9d7cc315d2cdb05c"><td class="memTemplParams" colspan="2">template&lt;length_t C, length_t R, typename T , qualifier Q&gt; </td></tr>
  82. <tr class="memitem:ga4e022709c9e7eaad9d7cc315d2cdb05c"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00753.html#ga4e022709c9e7eaad9d7cc315d2cdb05c">rq_decompose</a> (mat&lt; C, R, T, Q &gt; const &amp;in, mat&lt;(C&lt; R ? C :R), R, T, Q &gt; &amp;r, mat&lt; C,(C&lt; R ? C :R), T, Q &gt; &amp;q)</td></tr>
  83. <tr class="separator:ga4e022709c9e7eaad9d7cc315d2cdb05c"><td class="memSeparator" colspan="2">&#160;</td></tr>
  84. </table>
  85. <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
  86. <p>Include &lt;<a class="el" href="a00521.html" title="GLM_GTX_matrix_factorisation ">glm/gtx/matrix_factorisation.hpp</a>&gt; to use the features of this extension. </p>
  87. <p>Functions to factor matrices in various forms </p>
  88. <h2 class="groupheader">Function Documentation</h2>
  89. <a id="gaf39f4e5f78eb29c1a90277d45b9b3feb"></a>
  90. <h2 class="memtitle"><span class="permalink"><a href="#gaf39f4e5f78eb29c1a90277d45b9b3feb">&#9670;&nbsp;</a></span>fliplr()</h2>
  91. <div class="memitem">
  92. <div class="memproto">
  93. <table class="memname">
  94. <tr>
  95. <td class="memname">GLM_FUNC_DECL mat&lt;C, R, T, Q&gt; glm::fliplr </td>
  96. <td>(</td>
  97. <td class="paramtype">mat&lt; C, R, T, Q &gt; const &amp;&#160;</td>
  98. <td class="paramname"><em>in</em></td><td>)</td>
  99. <td></td>
  100. </tr>
  101. </table>
  102. </div><div class="memdoc">
  103. <p>Flips the matrix columns right and left. </p>
  104. <p>From GLM_GTX_matrix_factorisation extension. </p>
  105. </div>
  106. </div>
  107. <a id="ga85003371f0ba97380dd25e8905de1870"></a>
  108. <h2 class="memtitle"><span class="permalink"><a href="#ga85003371f0ba97380dd25e8905de1870">&#9670;&nbsp;</a></span>flipud()</h2>
  109. <div class="memitem">
  110. <div class="memproto">
  111. <table class="memname">
  112. <tr>
  113. <td class="memname">GLM_FUNC_DECL mat&lt;C, R, T, Q&gt; glm::flipud </td>
  114. <td>(</td>
  115. <td class="paramtype">mat&lt; C, R, T, Q &gt; const &amp;&#160;</td>
  116. <td class="paramname"><em>in</em></td><td>)</td>
  117. <td></td>
  118. </tr>
  119. </table>
  120. </div><div class="memdoc">
  121. <p>Flips the matrix rows up and down. </p>
  122. <p>From GLM_GTX_matrix_factorisation extension. </p>
  123. </div>
  124. </div>
  125. <a id="ga77022dca1aa38add548f9f56a9f8071a"></a>
  126. <h2 class="memtitle"><span class="permalink"><a href="#ga77022dca1aa38add548f9f56a9f8071a">&#9670;&nbsp;</a></span>qr_decompose()</h2>
  127. <div class="memitem">
  128. <div class="memproto">
  129. <table class="memname">
  130. <tr>
  131. <td class="memname">GLM_FUNC_DECL void glm::qr_decompose </td>
  132. <td>(</td>
  133. <td class="paramtype">mat&lt; C, R, T, Q &gt; const &amp;&#160;</td>
  134. <td class="paramname"><em>in</em></td><td>)</td>
  135. <td></td>
  136. </tr>
  137. </table>
  138. </div><div class="memdoc">
  139. <p>Performs QR factorisation of a matrix. </p>
  140. <p>Returns 2 matrices, q and r, such that the columns of q are orthonormal and span the same subspace than those of the input matrix, r is an upper triangular matrix, and q*r=in. Given an n-by-m input matrix, q has dimensions min(n,m)-by-m, and r has dimensions n-by-min(n,m).</p>
  141. <p>From GLM_GTX_matrix_factorisation extension. </p>
  142. </div>
  143. </div>
  144. <a id="ga4e022709c9e7eaad9d7cc315d2cdb05c"></a>
  145. <h2 class="memtitle"><span class="permalink"><a href="#ga4e022709c9e7eaad9d7cc315d2cdb05c">&#9670;&nbsp;</a></span>rq_decompose()</h2>
  146. <div class="memitem">
  147. <div class="memproto">
  148. <table class="memname">
  149. <tr>
  150. <td class="memname">GLM_FUNC_DECL void glm::rq_decompose </td>
  151. <td>(</td>
  152. <td class="paramtype">mat&lt; C, R, T, Q &gt; const &amp;&#160;</td>
  153. <td class="paramname"><em>in</em></td><td>)</td>
  154. <td></td>
  155. </tr>
  156. </table>
  157. </div><div class="memdoc">
  158. <p>Performs RQ factorisation of a matrix. </p>
  159. <p>Returns 2 matrices, r and q, such that r is an upper triangular matrix, the rows of q are orthonormal and span the same subspace than those of the input matrix, and r*q=in. Note that in the context of RQ factorisation, the diagonal is seen as starting in the lower-right corner of the matrix, instead of the usual upper-left. Given an n-by-m input matrix, r has dimensions min(n,m)-by-m, and q has dimensions n-by-min(n,m).</p>
  160. <p>From GLM_GTX_matrix_factorisation extension. </p>
  161. </div>
  162. </div>
  163. </div><!-- contents -->
  164. <!-- start footer part -->
  165. <hr class="footer"/><address class="footer"><small>
  166. Generated by &#160;<a href="http://www.doxygen.org/index.html">
  167. <img class="footer" src="doxygen.png" alt="doxygen"/>
  168. </a> 1.8.14
  169. </small></address>
  170. </body>
  171. </html>