<!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.8"/> <title>SphinxBase: include/sphinxbase/matrix.h Source File</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="navtree.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="resize.js"></script> <script type="text/javascript" src="navtree.js"></script> <script type="text/javascript"> $(document).ready(initResizable); $(window).load(resizeHeight); </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 style="padding-left: 0.5em;"> <div id="projectname">SphinxBase  <span id="projectnumber">0.6</span> </div> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.8.8 --> <div id="navrow1" class="tabs"> <ul class="tablist"> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="pages.html"><span>Related Pages</span></a></li> <li><a href="annotated.html"><span>Data Structures</span></a></li> <li class="current"><a href="files.html"><span>Files</span></a></li> </ul> </div> <div id="navrow2" class="tabs2"> <ul class="tablist"> <li><a href="files.html"><span>File List</span></a></li> <li><a href="globals.html"><span>Globals</span></a></li> </ul> </div> </div><!-- top --> <div id="side-nav" class="ui-resizable side-nav-resizable"> <div id="nav-tree"> <div id="nav-tree-contents"> <div id="nav-sync" class="sync"></div> </div> </div> <div id="splitbar" style="-moz-user-select:none;" class="ui-resizable-handle"> </div> </div> <script type="text/javascript"> $(document).ready(function(){initNavTree('matrix_8h_source.html','');}); </script> <div id="doc-content"> <div class="header"> <div class="headertitle"> <div class="title">matrix.h</div> </div> </div><!--header--> <div class="contents"> <a href="matrix_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">/* -*- c-basic-offset: 4; indent-tabs-mode: nil -*- */</span></div> <div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment">/* ====================================================================</span></div> <div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment"> * Copyright (c) 1997-2000 Carnegie Mellon University. All rights </span></div> <div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment"> * reserved.</span></div> <div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment"> *</span></div> <div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment"> * Redistribution and use in source and binary forms, with or without</span></div> <div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment"> * modification, are permitted provided that the following conditions</span></div> <div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment"> * are met:</span></div> <div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment"> *</span></div> <div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="comment"> * 1. Redistributions of source code must retain the above copyright</span></div> <div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="comment"> * notice, this list of conditions and the following disclaimer. </span></div> <div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="comment"> *</span></div> <div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="comment"> * 2. Redistributions in binary form must reproduce the above copyright</span></div> <div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="comment"> * notice, this list of conditions and the following disclaimer in</span></div> <div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="comment"> * the documentation and/or other materials provided with the</span></div> <div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="comment"> * distribution.</span></div> <div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="comment"> *</span></div> <div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="comment"> * This work was supported in part by funding from the Defense Advanced </span></div> <div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="comment"> * Research Projects Agency and the National Science Foundation of the </span></div> <div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="comment"> * United States of America, and the CMU Sphinx Speech Consortium.</span></div> <div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="comment"> *</span></div> <div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="comment"> * THIS SOFTWARE IS PROVIDED BY CARNEGIE MELLON UNIVERSITY ``AS IS'' AND </span></div> <div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="comment"> * ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, </span></div> <div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="comment"> * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR</span></div> <div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="comment"> * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL CARNEGIE MELLON UNIVERSITY</span></div> <div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="comment"> * NOR ITS EMPLOYEES BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,</span></div> <div class="line"><a name="l00027"></a><span class="lineno"> 27</span> <span class="comment"> * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT </span></div> <div class="line"><a name="l00028"></a><span class="lineno"> 28</span> <span class="comment"> * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, </span></div> <div class="line"><a name="l00029"></a><span class="lineno"> 29</span> <span class="comment"> * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY </span></div> <div class="line"><a name="l00030"></a><span class="lineno"> 30</span> <span class="comment"> * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT </span></div> <div class="line"><a name="l00031"></a><span class="lineno"> 31</span> <span class="comment"> * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE </span></div> <div class="line"><a name="l00032"></a><span class="lineno"> 32</span> <span class="comment"> * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.</span></div> <div class="line"><a name="l00033"></a><span class="lineno"> 33</span> <span class="comment"> *</span></div> <div class="line"><a name="l00034"></a><span class="lineno"> 34</span> <span class="comment"> * ====================================================================</span></div> <div class="line"><a name="l00035"></a><span class="lineno"> 35</span> <span class="comment"> *</span></div> <div class="line"><a name="l00036"></a><span class="lineno"> 36</span> <span class="comment"> */</span></div> <div class="line"><a name="l00037"></a><span class="lineno"> 37</span> <span class="comment">/*********************************************************************</span></div> <div class="line"><a name="l00038"></a><span class="lineno"> 38</span> <span class="comment"> *</span></div> <div class="line"><a name="l00039"></a><span class="lineno"> 39</span> <span class="comment"> * File: matrix.h</span></div> <div class="line"><a name="l00040"></a><span class="lineno"> 40</span> <span class="comment"> * </span></div> <div class="line"><a name="l00041"></a><span class="lineno"> 41</span> <span class="comment"> * Description: Matrix and linear algebra functions</span></div> <div class="line"><a name="l00042"></a><span class="lineno"> 42</span> <span class="comment"> * </span></div> <div class="line"><a name="l00043"></a><span class="lineno"> 43</span> <span class="comment"> * Author: </span></div> <div class="line"><a name="l00044"></a><span class="lineno"> 44</span> <span class="comment"> * </span></div> <div class="line"><a name="l00045"></a><span class="lineno"> 45</span> <span class="comment"> *********************************************************************/</span></div> <div class="line"><a name="l00046"></a><span class="lineno"> 46</span> </div> <div class="line"><a name="l00047"></a><span class="lineno"> 47</span> <span class="preprocessor">#ifndef MATRIX_H</span></div> <div class="line"><a name="l00048"></a><span class="lineno"> 48</span> <span class="preprocessor">#define MATRIX_H</span></div> <div class="line"><a name="l00049"></a><span class="lineno"> 49</span> </div> <div class="line"><a name="l00060"></a><span class="lineno"> 60</span> <span class="preprocessor">#ifdef __cplusplus</span></div> <div class="line"><a name="l00061"></a><span class="lineno"> 61</span> <span class="keyword">extern</span> <span class="stringliteral">"C"</span> {</div> <div class="line"><a name="l00062"></a><span class="lineno"> 62</span> <span class="preprocessor">#endif</span></div> <div class="line"><a name="l00063"></a><span class="lineno"> 63</span> <span class="preprocessor">#if 0</span></div> <div class="line"><a name="l00064"></a><span class="lineno"> 64</span> <span class="comment">/* Fool Emacs. */</span></div> <div class="line"><a name="l00065"></a><span class="lineno"> 65</span> }</div> <div class="line"><a name="l00066"></a><span class="lineno"> 66</span> <span class="preprocessor">#endif</span></div> <div class="line"><a name="l00067"></a><span class="lineno"> 67</span> </div> <div class="line"><a name="l00068"></a><span class="lineno"> 68</span> <span class="comment">/* Win32/WinCE DLL gunk */</span></div> <div class="line"><a name="l00069"></a><span class="lineno"> 69</span> <span class="preprocessor">#include <sphinxbase/sphinxbase_export.h></span></div> <div class="line"><a name="l00070"></a><span class="lineno"> 70</span> <span class="preprocessor">#include <<a class="code" href="prim__type_8h.html">sphinxbase/prim_type.h</a>></span></div> <div class="line"><a name="l00071"></a><span class="lineno"> 71</span> </div> <div class="line"><a name="l00072"></a><span class="lineno"> 72</span> </div> <div class="line"><a name="l00080"></a><span class="lineno"> 80</span> SPHINXBASE_EXPORT <span class="keywordtype">void</span> <a class="code" href="matrix_8h.html#af209fc89926fd184f5a02919ec7c9818">norm_3d</a>(float32 ***arr, uint32 d1, uint32 d2, uint32 d3);</div> <div class="line"><a name="l00081"></a><span class="lineno"> 81</span> </div> <div class="line"><a name="l00090"></a><span class="lineno"> 90</span> SPHINXBASE_EXPORT <span class="keywordtype">void</span></div> <div class="line"><a name="l00091"></a><span class="lineno"> 91</span> <a class="code" href="matrix_8h.html#abf02a99f3dac599148c0e1ee5640b568">accum_3d</a>(float32 ***out, float32 ***in, uint32 d1, uint32 d2, uint32 d3);</div> <div class="line"><a name="l00092"></a><span class="lineno"> 92</span> </div> <div class="line"><a name="l00098"></a><span class="lineno"> 98</span> SPHINXBASE_EXPORT <span class="keywordtype">void</span> <a class="code" href="matrix_8h.html#a859d32f6b8e86fb215f676245c8deeaf">band_nz_1d</a>(float32 *v, uint32 d1, float32 band);</div> <div class="line"><a name="l00099"></a><span class="lineno"> 99</span> </div> <div class="line"><a name="l00108"></a><span class="lineno"> 108</span> SPHINXBASE_EXPORT <span class="keywordtype">void</span> <a class="code" href="matrix_8h.html#a7b18b907fca64a8057f7406b8996d9c9">floor_nz_3d</a>(float32 ***m, uint32 d1, uint32 d2, uint32 d3, float32 floor);</div> <div class="line"><a name="l00109"></a><span class="lineno"> 109</span> </div> <div class="line"><a name="l00116"></a><span class="lineno"> 116</span> SPHINXBASE_EXPORT <span class="keywordtype">void</span> <a class="code" href="matrix_8h.html#a0ec7000944b98cce317e0b63ce437b99">floor_nz_1d</a>(float32 *v, uint32 d1, float32 floor);</div> <div class="line"><a name="l00117"></a><span class="lineno"> 117</span> </div> <div class="line"><a name="l00130"></a><span class="lineno"> 130</span> SPHINXBASE_EXPORT</div> <div class="line"><a name="l00131"></a><span class="lineno"> 131</span> float64 <a class="code" href="matrix_8h.html#a0c810028195f6078c9e99f3b5c29c42b">determinant</a>(float32 **a, int32 len);</div> <div class="line"><a name="l00132"></a><span class="lineno"> 132</span> </div> <div class="line"><a name="l00143"></a><span class="lineno"> 143</span> SPHINXBASE_EXPORT</div> <div class="line"><a name="l00144"></a><span class="lineno"> 144</span> int32 <a class="code" href="matrix_8h.html#aa20f437dbe9fcd6f0adda31f181bfbea">invert</a>(float32 **out_ainv, float32 **a, int32 len);</div> <div class="line"><a name="l00145"></a><span class="lineno"> 145</span> </div> <div class="line"><a name="l00157"></a><span class="lineno"> 157</span> SPHINXBASE_EXPORT</div> <div class="line"><a name="l00158"></a><span class="lineno"> 158</span> int32 <a class="code" href="matrix_8h.html#a174a82dac39a15828af6c87edcba3708">solve</a>(float32 **a, float32 *b,</div> <div class="line"><a name="l00159"></a><span class="lineno"> 159</span>  float32 *out_x, int32 n);</div> <div class="line"><a name="l00160"></a><span class="lineno"> 160</span> </div> <div class="line"><a name="l00169"></a><span class="lineno"> 169</span> SPHINXBASE_EXPORT</div> <div class="line"><a name="l00170"></a><span class="lineno"> 170</span> <span class="keywordtype">void</span> <a class="code" href="matrix_8h.html#aa2d31d63ec277fd389d4ef51d3b2bc2b">outerproduct</a>(float32 **out_a, float32 *x, float32 *y, int32 len);</div> <div class="line"><a name="l00171"></a><span class="lineno"> 171</span> </div> <div class="line"><a name="l00179"></a><span class="lineno"> 179</span> SPHINXBASE_EXPORT</div> <div class="line"><a name="l00180"></a><span class="lineno"> 180</span> <span class="keywordtype">void</span> <a class="code" href="matrix_8h.html#acaaf5d2c02d9d12f10abc462ac65cde9">matrixmultiply</a>(float32 **out_c, <span class="comment">/* = */</span></div> <div class="line"><a name="l00181"></a><span class="lineno"> 181</span>  float32 **a, <span class="comment">/* * */</span> float32 **b,</div> <div class="line"><a name="l00182"></a><span class="lineno"> 182</span>  int32 n);</div> <div class="line"><a name="l00183"></a><span class="lineno"> 183</span> </div> <div class="line"><a name="l00190"></a><span class="lineno"> 190</span> SPHINXBASE_EXPORT</div> <div class="line"><a name="l00191"></a><span class="lineno"> 191</span> <span class="keywordtype">void</span> <a class="code" href="matrix_8h.html#adc8ee5f4e4792328e4f33309bc99ebfb">scalarmultiply</a>(float32 **inout_a, float32 x, int32 n);</div> <div class="line"><a name="l00192"></a><span class="lineno"> 192</span> </div> <div class="line"><a name="l00199"></a><span class="lineno"> 199</span> SPHINXBASE_EXPORT</div> <div class="line"><a name="l00200"></a><span class="lineno"> 200</span> <span class="keywordtype">void</span> <a class="code" href="matrix_8h.html#a545d251a51cc473bad38a83b2a05f61c">matrixadd</a>(float32 **inout_a, float32 **b, int32 n);</div> <div class="line"><a name="l00201"></a><span class="lineno"> 201</span> </div> <div class="line"><a name="l00202"></a><span class="lineno"> 202</span> <span class="preprocessor">#if 0</span></div> <div class="line"><a name="l00203"></a><span class="lineno"> 203</span> { <span class="comment">/* Fool indent. */</span></div> <div class="line"><a name="l00204"></a><span class="lineno"> 204</span> <span class="preprocessor">#endif</span></div> <div class="line"><a name="l00205"></a><span class="lineno"> 205</span> <span class="preprocessor">#ifdef __cplusplus</span></div> <div class="line"><a name="l00206"></a><span class="lineno"> 206</span> }</div> <div class="line"><a name="l00207"></a><span class="lineno"> 207</span> <span class="preprocessor">#endif</span></div> <div class="line"><a name="l00208"></a><span class="lineno"> 208</span> </div> <div class="line"><a name="l00209"></a><span class="lineno"> 209</span> <span class="preprocessor">#endif </span><span class="comment">/* MATRIX_H */</span><span class="preprocessor"> </span></div> <div class="line"><a name="l00210"></a><span class="lineno"> 210</span> </div> <div class="line"><a name="l00211"></a><span class="lineno"> 211</span> </div> <div class="line"><a name="l00212"></a><span class="lineno"> 212</span> <span class="comment">/*</span></div> <div class="line"><a name="l00213"></a><span class="lineno"> 213</span> <span class="comment"> * Log record. Maintained by RCS.</span></div> <div class="line"><a name="l00214"></a><span class="lineno"> 214</span> <span class="comment"> *</span></div> <div class="line"><a name="l00215"></a><span class="lineno"> 215</span> <span class="comment"> * $Log$</span></div> <div class="line"><a name="l00216"></a><span class="lineno"> 216</span> <span class="comment"> * Revision 1.4 2004/07/21 17:46:09 egouvea</span></div> <div class="line"><a name="l00217"></a><span class="lineno"> 217</span> <span class="comment"> * Changed the license terms to make it the same as sphinx2 and sphinx3.</span></div> <div class="line"><a name="l00218"></a><span class="lineno"> 218</span> <span class="comment"> * </span></div> <div class="line"><a name="l00219"></a><span class="lineno"> 219</span> <span class="comment"> * Revision 1.3 2001/04/05 20:02:30 awb</span></div> <div class="line"><a name="l00220"></a><span class="lineno"> 220</span> <span class="comment"> * *** empty log message ***</span></div> <div class="line"><a name="l00221"></a><span class="lineno"> 221</span> <span class="comment"> *</span></div> <div class="line"><a name="l00222"></a><span class="lineno"> 222</span> <span class="comment"> * Revision 1.2 2000/09/29 22:35:12 awb</span></div> <div class="line"><a name="l00223"></a><span class="lineno"> 223</span> <span class="comment"> * *** empty log message ***</span></div> <div class="line"><a name="l00224"></a><span class="lineno"> 224</span> <span class="comment"> *</span></div> <div class="line"><a name="l00225"></a><span class="lineno"> 225</span> <span class="comment"> * Revision 1.1 2000/09/24 21:38:30 awb</span></div> <div class="line"><a name="l00226"></a><span class="lineno"> 226</span> <span class="comment"> * *** empty log message ***</span></div> <div class="line"><a name="l00227"></a><span class="lineno"> 227</span> <span class="comment"> *</span></div> <div class="line"><a name="l00228"></a><span class="lineno"> 228</span> <span class="comment"> * Revision 1.1 97/07/16 11:39:10 eht</span></div> <div class="line"><a name="l00229"></a><span class="lineno"> 229</span> <span class="comment"> * Initial revision</span></div> <div class="line"><a name="l00230"></a><span class="lineno"> 230</span> <span class="comment"> * </span></div> <div class="line"><a name="l00231"></a><span class="lineno"> 231</span> <span class="comment"> *</span></div> <div class="line"><a name="l00232"></a><span class="lineno"> 232</span> <span class="comment"> */</span></div> <div class="ttc" id="matrix_8h_html_a174a82dac39a15828af6c87edcba3708"><div class="ttname"><a href="matrix_8h.html#a174a82dac39a15828af6c87edcba3708">solve</a></div><div class="ttdeci">SPHINXBASE_EXPORT int32 solve(float32 **a, float32 *b, float32 *out_x, int32 n)</div><div class="ttdoc">Solve (if possible) a positive-definite system of linear equations AX=B for X. </div><div class="ttdef"><b>Definition:</b> <a href="matrix_8c_source.html#l00159">matrix.c:159</a></div></div> <div class="ttc" id="matrix_8h_html_aa2d31d63ec277fd389d4ef51d3b2bc2b"><div class="ttname"><a href="matrix_8h.html#aa2d31d63ec277fd389d4ef51d3b2bc2b">outerproduct</a></div><div class="ttdeci">SPHINXBASE_EXPORT void outerproduct(float32 **out_a, float32 *x, float32 *y, int32 len)</div><div class="ttdoc">Calculate the outer product of two vectors. </div><div class="ttdef"><b>Definition:</b> <a href="matrix_8c_source.html#l00278">matrix.c:278</a></div></div> <div class="ttc" id="matrix_8h_html_abf02a99f3dac599148c0e1ee5640b568"><div class="ttname"><a href="matrix_8h.html#abf02a99f3dac599148c0e1ee5640b568">accum_3d</a></div><div class="ttdeci">SPHINXBASE_EXPORT void accum_3d(float32 ***out, float32 ***in, uint32 d1, uint32 d2, uint32 d3)</div><div class="ttdoc">Floor 3-d array. </div><div class="ttdef"><b>Definition:</b> <a href="matrix_8c_source.html#l00078">matrix.c:78</a></div></div> <div class="ttc" id="prim__type_8h_html"><div class="ttname"><a href="prim__type_8h.html">prim_type.h</a></div><div class="ttdoc">Basic type definitions used in Sphinx. </div></div> <div class="ttc" id="matrix_8h_html_aa20f437dbe9fcd6f0adda31f181bfbea"><div class="ttname"><a href="matrix_8h.html#aa20f437dbe9fcd6f0adda31f181bfbea">invert</a></div><div class="ttdeci">SPHINXBASE_EXPORT int32 invert(float32 **out_ainv, float32 **a, int32 len)</div><div class="ttdoc">Invert (if possible) a positive definite matrix. </div><div class="ttdef"><b>Definition:</b> <a href="matrix_8c_source.html#l00153">matrix.c:153</a></div></div> <div class="ttc" id="matrix_8h_html_a545d251a51cc473bad38a83b2a05f61c"><div class="ttname"><a href="matrix_8h.html#a545d251a51cc473bad38a83b2a05f61c">matrixadd</a></div><div class="ttdeci">SPHINXBASE_EXPORT void matrixadd(float32 **inout_a, float32 **b, int32 n)</div><div class="ttdoc">Add A += B. </div><div class="ttdef"><b>Definition:</b> <a href="matrix_8c_source.html#l00306">matrix.c:306</a></div></div> <div class="ttc" id="matrix_8h_html_a859d32f6b8e86fb215f676245c8deeaf"><div class="ttname"><a href="matrix_8h.html#a859d32f6b8e86fb215f676245c8deeaf">band_nz_1d</a></div><div class="ttdeci">SPHINXBASE_EXPORT void band_nz_1d(float32 *v, uint32 d1, float32 band)</div><div class="ttdoc">Ensures that non-zero values x such that -band < x < band, band > 0 are set to -band if x < 0 and ban...</div><div class="ttdef"><b>Definition:</b> <a href="matrix_8c_source.html#l00127">matrix.c:127</a></div></div> <div class="ttc" id="matrix_8h_html_a0c810028195f6078c9e99f3b5c29c42b"><div class="ttname"><a href="matrix_8h.html#a0c810028195f6078c9e99f3b5c29c42b">determinant</a></div><div class="ttdeci">SPHINXBASE_EXPORT float64 determinant(float32 **a, int32 len)</div><div class="ttdoc">Calculate the determinant of a positive definite matrix. </div><div class="ttdef"><b>Definition:</b> <a href="matrix_8c_source.html#l00147">matrix.c:147</a></div></div> <div class="ttc" id="matrix_8h_html_acaaf5d2c02d9d12f10abc462ac65cde9"><div class="ttname"><a href="matrix_8h.html#acaaf5d2c02d9d12f10abc462ac65cde9">matrixmultiply</a></div><div class="ttdeci">SPHINXBASE_EXPORT void matrixmultiply(float32 **out_c, float32 **a, float32 **b, int32 n)</div><div class="ttdoc">Multiply C=AB where A and B are symmetric matrices. </div><div class="ttdef"><b>Definition:</b> <a href="matrix_8c_source.html#l00166">matrix.c:166</a></div></div> <div class="ttc" id="matrix_8h_html_adc8ee5f4e4792328e4f33309bc99ebfb"><div class="ttname"><a href="matrix_8h.html#adc8ee5f4e4792328e4f33309bc99ebfb">scalarmultiply</a></div><div class="ttdeci">SPHINXBASE_EXPORT void scalarmultiply(float32 **inout_a, float32 x, int32 n)</div><div class="ttdoc">Multiply a symmetric matrix by a constant in-place. </div><div class="ttdef"><b>Definition:</b> <a href="matrix_8c_source.html#l00292">matrix.c:292</a></div></div> <div class="ttc" id="matrix_8h_html_a0ec7000944b98cce317e0b63ce437b99"><div class="ttname"><a href="matrix_8h.html#a0ec7000944b98cce317e0b63ce437b99">floor_nz_1d</a></div><div class="ttdeci">SPHINXBASE_EXPORT void floor_nz_1d(float32 *v, uint32 d1, float32 floor)</div><div class="ttdoc">Floor 1-d array. </div><div class="ttdef"><b>Definition:</b> <a href="matrix_8c_source.html#l00114">matrix.c:114</a></div></div> <div class="ttc" id="matrix_8h_html_af209fc89926fd184f5a02919ec7c9818"><div class="ttname"><a href="matrix_8h.html#af209fc89926fd184f5a02919ec7c9818">norm_3d</a></div><div class="ttdeci">SPHINXBASE_EXPORT void norm_3d(float32 ***arr, uint32 d1, uint32 d2, uint32 d3)</div><div class="ttdoc">Norm an array. </div><div class="ttdef"><b>Definition:</b> <a href="matrix_8c_source.html#l00050">matrix.c:50</a></div></div> <div class="ttc" id="matrix_8h_html_a7b18b907fca64a8057f7406b8996d9c9"><div class="ttname"><a href="matrix_8h.html#a7b18b907fca64a8057f7406b8996d9c9">floor_nz_3d</a></div><div class="ttdeci">SPHINXBASE_EXPORT void floor_nz_3d(float32 ***m, uint32 d1, uint32 d2, uint32 d3, float32 floor)</div><div class="ttdoc">Floor 3-d array. </div><div class="ttdef"><b>Definition:</b> <a href="matrix_8c_source.html#l00096">matrix.c:96</a></div></div> </div><!-- fragment --></div><!-- contents --> </div><!-- doc-content --> <!-- start footer part --> <div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> <ul> <li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="dir_e3d154c296a8e9be2797a4f81e9375b2.html">sphinxbase</a></li><li class="navelem"><a class="el" href="matrix_8h.html">matrix.h</a></li> <li class="footer">Generated on Sat Oct 18 2014 15:21:16 for SphinxBase by <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.8 </li> </ul> </div> </body> </html>