<!-- iframe showing the search results (closed by default) -->
<divid="MSearchResultsWindow">
<iframesrc="javascript:void(0)"frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<divclass="header">
<divclass="headertitle">
<divclass="title">qr_decompose.h</div></div>
</div><!--header-->
<divclass="contents">
<ahref="../../d4/d68/qr__decompose_8h.html">Go to the documentation of this file.</a><divclass="fragment"><divclass="line"><aname="l00001"></a><spanclass="lineno"> 1</span> <spanclass="comment">/**</span></div>
<divclass="line"><aname="l00003"></a><spanclass="lineno"> 3</span> <spanclass="comment"> * \brief Library functions to compute [QR</span></div>
<divclass="line"><aname="l00004"></a><spanclass="lineno"> 4</span> <spanclass="comment"> * decomposition](https://en.wikipedia.org/wiki/QR_decomposition) of a given</span></div>
<divclass="line"><aname="l00022"></a><spanclass="lineno"><aclass="line"href="../../d4/d68/qr__decompose_8h.html#a90562ce8c3707401e9c5809dece68d6a"> 22</a></span> <spanclass="keywordtype">void</span><aclass="code"href="../../d4/d68/qr__decompose_8h.html#a90562ce8c3707401e9c5809dece68d6a">print_matrix</a>(<spanclass="keywordtype">double</span> **A, <spanclass="comment">/**< matrix to print */</span></div>
<divclass="line"><aname="l00023"></a><spanclass="lineno"> 23</span> <spanclass="keywordtype">int</span> M, <spanclass="comment">/**< number of rows of matrix */</span></div>
<divclass="line"><aname="l00024"></a><spanclass="lineno"> 24</span> <spanclass="keywordtype">int</span><aclass="code"href="../../db/d01/problem__13_2sol1_8c.html#a0240ac851181b84ac374872dc5434ee4">N</a>) <spanclass="comment">/**< number of columns of matrix */</span></div>
<divclass="line"><aname="l00035"></a><spanclass="lineno"> 35</span> <spanclass="comment"> * Compute dot product of two vectors of equal lengths</span></div>
<divclass="line"><aname="l00071"></a><spanclass="lineno"> 71</span> <spanclass="comment"> * Compute projection of vector \f$\vec{a}\f$ on \f$\vec{b}\f$ defined as</span></div>
<divclass="line"><aname="l00080"></a><spanclass="lineno"> 80</span> <spanclass="keywordflow">if</span> (deno == 0) <spanclass="comment">/*! check for division by zero */</span></div>
<divclass="line"><aname="l00130"></a><spanclass="lineno"> 130</span> <spanclass="comment"> * Q &=& \begin{bmatrix}\mathbf{e}_0 & \mathbf{e}_1 & \mathbf{e}_2 & \dots &</span></div>
<divclass="line"><aname="l00134"></a><spanclass="lineno"> 134</span> <spanclass="comment"> *\langle\mathbf{e}_2\,,\mathbf{a}_2\rangle & \dots \\</span></div>
<divclass="line"><aname="l00135"></a><spanclass="lineno"> 135</span> <spanclass="comment"> * 0 & \langle\mathbf{e}_1\,,\mathbf{a}_1\rangle &</span></div>
<divclass="line"><aname="l00136"></a><spanclass="lineno"> 136</span> <spanclass="comment"> *\langle\mathbf{e}_2\,,\mathbf{a}_2\rangle & \dots\\</span></div>
<divclass="line"><aname="l00137"></a><spanclass="lineno"> 137</span> <spanclass="comment"> * 0 & 0 & \langle\mathbf{e}_2\,,\mathbf{a}_2\rangle & \dots\\</span></div>
<divclass="line"><aname="l00138"></a><spanclass="lineno"> 138</span> <spanclass="comment"> * \vdots & \vdots & \vdots & \ddots</span></div>
<divclass="line"><aname="l00145"></a><spanclass="lineno"> 145</span> <spanclass="keywordtype">int</span> M, <spanclass="comment">/**< number of rows of matrix A */</span></div>
<divclass="line"><aname="l00146"></a><spanclass="lineno"> 146</span> <spanclass="keywordtype">int</span><aclass="code"href="../../db/d01/problem__13_2sol1_8c.html#a0240ac851181b84ac374872dc5434ee4">N</a><spanclass="comment">/**< number of columns of matrix A */</span></div>
<divclass="line"><aname="l00152"></a><spanclass="lineno"> 152</span> <spanclass="keywordflow">for</span> (<spanclass="keywordtype">int</span> i = 0; i <<aclass="code"href="../../db/d01/problem__13_2sol1_8c.html#a0240ac851181b84ac374872dc5434ee4">N</a>;</div>
<divclass="line"><aname="l00153"></a><spanclass="lineno"> 153</span>  i++) <spanclass="comment">/* for each column => R is a square matrix of NxN */</span></div>
<divclass="line"><aname="l00170"></a><spanclass="lineno"> 170</span>  tmp_vector[j] = A[j][i]; <spanclass="comment">/* accumulator for uk */</span></div>
<divclass="line"><aname="l00175"></a><spanclass="lineno"> 175</span> <spanclass="keywordflow">for</span> (<spanclass="keywordtype">int</span> k = 0; k < M; k++) col_vector2[k] = Q[k][j];</div>
<divclass="line"><aname="l00187"></a><spanclass="lineno"> 187</span> <spanclass="comment">/* compute upper triangular values of R */</span></div>
<divclass="line"><aname="l00188"></a><spanclass="lineno"> 188</span> <spanclass="keywordflow">for</span> (<spanclass="keywordtype">int</span> kk = 0; kk < M; kk++) col_vector[kk] = Q[kk][i];</div>
<divclass="line"><aname="l00189"></a><spanclass="lineno"> 189</span> <spanclass="keywordflow">for</span> (<spanclass="keywordtype">int</span> k = i; k <<aclass="code"href="../../db/d01/problem__13_2sol1_8c.html#a0240ac851181b84ac374872dc5434ee4">N</a>; k++)</div>
<divclass="line"><aname="l00191"></a><spanclass="lineno"> 191</span> <spanclass="keywordflow">for</span> (<spanclass="keywordtype">int</span> kk = 0; kk < M; kk++) col_vector2[kk] = A[kk][k];</div>
<divclass="ttc"id="astruct__large__num_html"><divclass="ttname"><ahref="../../d3/d5a/struct__large__num.html">_large_num</a></div><divclass="ttdoc">dynamically large number</div><divclass="ttdef"><b>Definition:</b> factorial_large_number.c:15</div></div>
<divclass="ttc"id="akohonen__som__trace_8c_html_a0283886819c7c140a023582b7269e2d0"><divclass="ttname"><ahref="../../d0/d46/kohonen__som__trace_8c.html#a0283886819c7c140a023582b7269e2d0">test2</a></div><divclass="ttdeci">void test2()</div><divclass="ttdoc">Test that creates a random set of points distributed near the locus of the Lamniscate of Gerono and t...</div><divclass="ttdef"><b>Definition:</b> kohonen_som_trace.c:347</div></div>
<divclass="ttc"id="aadaline__learning_8c_html_acd517c6f195c75b9dd0f3aad65326f3b"><divclass="ttname"><ahref="../../dd/d8c/adaline__learning_8c.html#acd517c6f195c75b9dd0f3aad65326f3b">MAX_ITER</a></div><divclass="ttdeci">#define MAX_ITER</div><divclass="ttdoc">Maximum number of iterations to learn.</div><divclass="ttdef"><b>Definition:</b> adaline_learning.c:34</div></div>
<divclass="ttc"id="aadaline__learning_8c_html_a00dc6134ca22a12e0fd9cac54d601c2d"><divclass="ttname"><ahref="../../dd/d8c/adaline__learning_8c.html#a00dc6134ca22a12e0fd9cac54d601c2d">get_weights_str</a></div><divclass="ttdeci">char * get_weights_str(struct adaline *ada)</div><divclass="ttdoc">Operator to print the weights of the model.</div><divclass="ttdef"><b>Definition:</b> adaline_learning.c:100</div></div>
<divclass="ttc"id="akohonen__som__trace_8c_html_a7b84b14e60f47812b581d1f93057c85a"><divclass="ttname"><ahref="../../d0/d46/kohonen__som__trace_8c.html#a7b84b14e60f47812b581d1f93057c85a">save_nd_data</a></div><divclass="ttdeci">int save_nd_data(const char *fname, double **X, int num_points, int num_features)</div><divclass="ttdoc">Save a given n-dimensional data martix to file.</div><divclass="ttdef"><b>Definition:</b> kohonen_som_trace.c:64</div></div>
<divclass="ttc"id="astructadaline_html_a32e58c03fd9258709eae6138ad0ec657"><divclass="ttname"><ahref="../../d2/daa/structadaline.html#a32e58c03fd9258709eae6138ad0ec657">adaline::weights</a></div><divclass="ttdeci">double * weights</div><divclass="ttdoc">weights of the neural network</div><divclass="ttdef"><b>Definition:</b> adaline_learning.c:40</div></div>
<divclass="ttc"id="akohonen__som__trace_8c_html_affe776513b24d84b39af8ab0930fef7f"><divclass="ttname"><ahref="../../d0/d46/kohonen__som__trace_8c.html#affe776513b24d84b39af8ab0930fef7f">max</a></div><divclass="ttdeci">#define max(a, b)</div><divclass="ttdoc">shorthand for maximum value</div><divclass="ttdef"><b>Definition:</b> kohonen_som_trace.c:26</div></div>
<divclass="ttc"id="akohonen__som__topology_8c_html_a6d0455dd5c30adda100e95f0423c786e"><divclass="ttname"><ahref="../../d2/df6/kohonen__som__topology_8c.html#a6d0455dd5c30adda100e95f0423c786e">test3</a></div><divclass="ttdeci">void test3()</div><divclass="ttdoc">Test that creates a random set of points distributed in eight clusters in 3D space and trains an SOM ...</div><divclass="ttdef"><b>Definition:</b> kohonen_som_topology.c:596</div></div>
<divclass="ttc"id="aode__midpoint__euler_8c_html_a8caee977b26888d34040b122e0e28e3a"><divclass="ttname"><ahref="../../d1/dc2/ode__midpoint__euler_8c.html#a8caee977b26888d34040b122e0e28e3a">exact_solution</a></div><divclass="ttdeci">void exact_solution(const double *x, double *y)</div><divclass="ttdoc">Exact solution of the problem.</div><divclass="ttdef"><b>Definition:</b> ode_midpoint_euler.c:67</div></div>
<divclass="ttc"id="astruct__cantor__set_html_a2f7f9f19125725d3e5673fdb4ac8cfb1"><divclass="ttname"><ahref="../../d9/dd7/struct__cantor__set.html#a2f7f9f19125725d3e5673fdb4ac8cfb1">_cantor_set::next</a></div><divclass="ttdeci">struct _cantor_set * next</div><divclass="ttdoc">pointer to next set</div><divclass="ttdef"><b>Definition:</b> cantor_set.c:15</div></div>
<divclass="ttc"id="aproblem__26_2sol1_8c_html_ac70138609ef6aa6fabca57aca8681e83"><divclass="ttname"><ahref="../../d1/df9/problem__26_2sol1_8c.html#ac70138609ef6aa6fabca57aca8681e83">compare</a></div><divclass="ttdeci">int compare(const void *a, const void *b)</div><divclass="ttdoc">comparison function for use with internal qsort algorithm</div><divclass="ttdef"><b>Definition:</b> sol1.c:19</div></div>
<divclass="ttc"id="acantor__set_8c_html_a1f156d2b53b80305bd2fa3ff5fdf3c97"><divclass="ttname"><ahref="../../dc/d80/cantor__set_8c.html#a1f156d2b53b80305bd2fa3ff5fdf3c97">propagate</a></div><divclass="ttdeci">void propagate(CantorSet *head)</div><divclass="ttdoc">Iterative constructor of all sets in the current level.</div><divclass="ttdef"><b>Definition:</b> cantor_set.c:23</div></div>
<divclass="ttc"id="aqr__decompose_8h_html_abeec1f78a7a7e7251687e75340331212"><divclass="ttname"><ahref="../../d4/d68/qr__decompose_8h.html#abeec1f78a7a7e7251687e75340331212">vector_mag</a></div><divclass="ttdeci">double vector_mag(double *vector, int L)</div><divclass="ttdoc">Compute magnitude of vector.</div><divclass="ttdef"><b>Definition:</b> qr_decompose.h:64</div></div>
<divclass="ttc"id="akohonen__som__trace_8c_html_a107f00650b8041f77767927073ddddb8"><divclass="ttname"><ahref="../../d0/d46/kohonen__som__trace_8c.html#a107f00650b8041f77767927073ddddb8">test_circle</a></div><divclass="ttdeci">void test_circle(double *const *data, int N)</div><divclass="ttdoc">Creates a random set of points distributed near the circumference of a circle and trains an SOM that ...</div><divclass="ttdef"><b>Definition:</b> kohonen_som_trace.c:212</div></div>
<divclass="ttc"id="aode__forward__euler_8c_html_aaf88ad8f9f7c39fc38f3f03d6fea9df9"><divclass="ttname"><ahref="../../d4/d07/ode__forward__euler_8c.html#aaf88ad8f9f7c39fc38f3f03d6fea9df9">forward_euler</a></div><divclass="ttdeci">double forward_euler(double dx, double x0, double x_max, double *y, char save_to_file)</div><divclass="ttdoc">Compute approximation using the forward-Euler method in the given limits.</div><divclass="ttdef"><b>Definition:</b> ode_forward_euler.c:99</div></div>
<divclass="ttc"id="akohonen__som__topology_8c_html_ad139de302fa8135a433d9c1bf971b13b"><divclass="ttname"><ahref="../../d2/df6/kohonen__som__topology_8c.html#ad139de302fa8135a433d9c1bf971b13b">update_weights</a></div><divclass="ttdeci">double update_weights(const double *X, struct array_3d *W, double **D, int num_out, int num_features, double alpha, int R)</div><divclass="ttdoc">Update weights of the SOM using Kohonen algorithm.</div><divclass="ttdef"><b>Definition:</b> kohonen_som_topology.c:227</div></div>
<divclass="ttc"id="astructarray__3d_html_ac8967b2c72769f839c09fb4cebb4339f"><divclass="ttname"><ahref="../../d0/dc8/structarray__3d.html#ac8967b2c72769f839c09fb4cebb4339f">array_3d::data</a></div><divclass="ttdeci">double * data</div><divclass="ttdoc">pointer to data</div><divclass="ttdef"><b>Definition:</b> kohonen_som_topology.c:45</div></div>
<divclass="ttc"id="anewton__raphson__root_8c_html_ae713a1fd0c275fbec7edf263ac2c0337"><divclass="ttname"><ahref="../../dd/d08/newton__raphson__root_8c.html#ae713a1fd0c275fbec7edf263ac2c0337">d_func</a></div><divclass="ttdeci">double complex d_func(double complex x)</div><divclass="ttdoc">Return first order derivative of the function.</div><divclass="ttdef"><b>Definition:</b> newton_raphson_root.c:32</div></div>
<divclass="ttc"id="acantor__set_8c_html_a2b95c356aff8a282eaad255008fa5a94"><divclass="ttname"><ahref="../../dc/d80/cantor__set_8c.html#a2b95c356aff8a282eaad255008fa5a94">CantorSet</a></div><divclass="ttdeci">struct _cantor_set CantorSet</div><divclass="ttdoc">structure to define Cantor set</div></div>
<divclass="ttc"id="akohonen__som__topology_8c_html_a7237d2cf3b3f9d034477268c1d6631da"><divclass="ttname"><ahref="../../d2/df6/kohonen__som__topology_8c.html#a7237d2cf3b3f9d034477268c1d6631da">data_3d</a></div><divclass="ttdeci">double * data_3d(const struct array_3d *arr, int x, int y, int z)</div><divclass="ttdoc">Function that returns the pointer to (x, y, z) ^th location in the linear 3D array given by:</div><divclass="ttdef"><b>Definition:</b> kohonen_som_topology.c:60</div></div>
<divclass="ttc"id="akohonen__som__trace_8c_html_aeaeffbff2be4d5d15b0d4f10f846abde"><divclass="ttname"><ahref="../../d0/d46/kohonen__som__trace_8c.html#aeaeffbff2be4d5d15b0d4f10f846abde">kohonen_som_tracer</a></div><divclass="ttdeci">void kohonen_som_tracer(double **X, double *const *W, int num_samples, int num_features, int num_out, double alpha_min)</div><divclass="ttdoc">Apply incremental algorithm with updating neighborhood and learning rates on all samples in the given...</div><divclass="ttdef"><b>Definition:</b> kohonen_som_trace.c:173</div></div>
<divclass="ttc"id="akohonen__som__topology_8c_html_ad9e25202bb8b481461f932668f249dbc"><divclass="ttname"><ahref="../../d2/df6/kohonen__som__topology_8c.html#ad9e25202bb8b481461f932668f249dbc">test_3d_classes1</a></div><divclass="ttdeci">void test_3d_classes1(double *const *data, int N)</div><divclass="ttdoc">Creates a random set of points distributed in four clusters in 3D space with centroids at the points.</div><divclass="ttdef"><b>Definition:</b> kohonen_som_topology.c:452</div></div>
<divclass="ttc"id="akohonen__som__trace_8c_html_a9c98203f55242ff7a8f45a6370840e66"><divclass="ttname"><ahref="../../d0/d46/kohonen__som__trace_8c.html#a9c98203f55242ff7a8f45a6370840e66">update_weights</a></div><divclass="ttdeci">void update_weights(double const *x, double *const *W, double *D, int num_out, int num_features, double alpha, int R)</div><divclass="ttdoc">Update weights of the SOM using Kohonen algorithm.</div><divclass="ttdef"><b>Definition:</b> kohonen_som_trace.c:123</div></div>
<divclass="ttc"id="astruct_b_s_t_iterator_html"><divclass="ttname"><ahref="../../d4/d02/struct_b_s_t_iterator.html">BSTIterator</a></div><divclass="ttdoc">Definition for a binary tree node.</div><divclass="ttdef"><b>Definition:</b> 173.c:13</div></div>
<divclass="ttc"id="astructnode_html"><divclass="ttname"><ahref="../../d5/da1/structnode.html">node</a></div><divclass="ttdoc">Kyler Smith, 2017 Stack data structure implementation.</div><divclass="ttdef"><b>Definition:</b> binary_search_tree.c:14</div></div>
<divclass="ttc"id="aqr__decompose_8h_html_a82b20e027437df768d7e994cf4cae29f"><divclass="ttname"><ahref="../../d4/d68/qr__decompose_8h.html#a82b20e027437df768d7e994cf4cae29f">vector_proj</a></div><divclass="ttdeci">double * vector_proj(double *a, double *b, double *out, int L)</div><divclass="ttdoc">Compute projection of vector on defined as.</div><divclass="ttdef"><b>Definition:</b> qr_decompose.h:76</div></div>
<divclass="ttc"id="astruct__large__num_html_a3fd11c0b413bbabfb8737d4ae73e5aa0"><divclass="ttname"><ahref="../../d3/d5a/struct__large__num.html#a3fd11c0b413bbabfb8737d4ae73e5aa0">_large_num::num_digits</a></div><divclass="ttdeci">unsigned int num_digits</div><divclass="ttdoc">number of digits in the number</div><divclass="ttdef"><b>Definition:</b> factorial_large_number.c:17</div></div>
<divclass="ttc"id="akohonen__som__trace_8c_html_a6d0455dd5c30adda100e95f0423c786e"><divclass="ttname"><ahref="../../d0/d46/kohonen__som__trace_8c.html#a6d0455dd5c30adda100e95f0423c786e">test3</a></div><divclass="ttdeci">void test3()</div><divclass="ttdoc">Test that creates a random set of points distributed in six clusters in 3D space.</div><divclass="ttdef"><b>Definition:</b> kohonen_som_trace.c:451</div></div>
<divclass="ttc"id="akohonen__som__topology_8c_html_a5bb02a8322d717ead1b11182c5f02a3a"><divclass="ttname"><ahref="../../d2/df6/kohonen__som__topology_8c.html#a5bb02a8322d717ead1b11182c5f02a3a">test_3d_classes2</a></div><divclass="ttdeci">void test_3d_classes2(double *const *data, int N)</div><divclass="ttdoc">Creates a random set of points distributed in four clusters in 3D space with centroids at the points.</div><divclass="ttdef"><b>Definition:</b> kohonen_som_topology.c:551</div></div>
<divclass="ttc"id="aproblem__13_2sol1_8c_html_a0240ac851181b84ac374872dc5434ee4"><divclass="ttname"><ahref="../../db/d01/problem__13_2sol1_8c.html#a0240ac851181b84ac374872dc5434ee4">N</a></div><divclass="ttdeci">#define N</div><divclass="ttdoc">number of digits of the large number</div><divclass="ttdef"><b>Definition:</b> sol1.c:109</div></div>
<divclass="ttc"id="akohonen__som__trace_8c_html_a0a292ebd954c568934b1fd06666d27e6"><divclass="ttname"><ahref="../../d0/d46/kohonen__som__trace_8c.html#a0a292ebd954c568934b1fd06666d27e6">get_min_1d</a></div><divclass="ttdeci">void get_min_1d(double const *X, int N, double *val, int *idx)</div><divclass="ttdoc">Get minimum value and index of the value in a vector.</div><divclass="ttdef"><b>Definition:</b> kohonen_som_trace.c:98</div></div>
<divclass="ttc"id="aqr__decompose_8h_html_a45c7640d9d22c89c11beb1f567843c56"><divclass="ttname"><ahref="../../d4/d68/qr__decompose_8h.html#a45c7640d9d22c89c11beb1f567843c56">qr_decompose</a></div><divclass="ttdeci">void qr_decompose(double **A, double **Q, double **R, int M, int N)</div><divclass="ttdoc">Decompose matrix using Gram-Schmidt process.</div><divclass="ttdef"><b>Definition:</b> qr_decompose.h:142</div></div>
<divclass="ttc"id="adurand__kerner__roots_8c_html_afa5b04ce11475d67049cba8273741fb7"><divclass="ttname"><ahref="../../da/d38/durand__kerner__roots_8c.html#afa5b04ce11475d67049cba8273741fb7">complex_str</a></div><divclass="ttdeci">const char * complex_str(long double complex x)</div><divclass="ttdoc">create a textual form of complex number</div><divclass="ttdef"><b>Definition:</b> durand_kerner_roots.c:66</div></div>
<divclass="ttc"id="afactorial__large__number_8c_html_ab54882961780c41a4929a6d390f6522d"><divclass="ttname"><ahref="../../d6/d3d/factorial__large__number_8c.html#ab54882961780c41a4929a6d390f6522d">large_num</a></div><divclass="ttdeci">struct _large_num large_num</div><divclass="ttdoc">dynamically large number</div></div>
<divclass="ttc"id="akohonen__som__topology_8c_html_adee1bc3871c881f6e04cb9e0b1d01158"><divclass="ttname"><ahref="../../d2/df6/kohonen__som__topology_8c.html#adee1bc3871c881f6e04cb9e0b1d01158">save_u_matrix</a></div><divclass="ttdeci">int save_u_matrix(const char *fname, struct array_3d *W)</div><divclass="ttdoc">Create the distance matrix or U-matrix from the trained weights and save to disk.</div><divclass="ttdef"><b>Definition:</b> kohonen_som_topology.c:132</div></div>
<divclass="ttc"id="afactorial__large__number_8c_html_ad8101f58545bd891ae8b6e11caadd7eb"><divclass="ttname"><ahref="../../d6/d3d/factorial__large__number_8c.html#ad8101f58545bd891ae8b6e11caadd7eb">new_number</a></div><divclass="ttdeci">large_num * new_number(void)</div><divclass="ttdoc">create a new large number</div><divclass="ttdef"><b>Definition:</b> factorial_large_number.c:24</div></div>
<divclass="ttc"id="adurand__kerner__roots_8c_html_a26d5695ebed0818a3e7cf4b10aacab52"><divclass="ttname"><ahref="../../da/d38/durand__kerner__roots_8c.html#a26d5695ebed0818a3e7cf4b10aacab52">check_termination</a></div><divclass="ttdeci">char check_termination(long double delta)</div><divclass="ttdoc">check for termination condition</div><divclass="ttdef"><b>Definition:</b> durand_kerner_roots.c:83</div></div>
<divclass="ttc"id="aode__semi__implicit__euler_8c_html_ad80059877222f885b549f2d0a3dc6b55"><divclass="ttname"><ahref="../../d4/d99/ode__semi__implicit__euler_8c.html#ad80059877222f885b549f2d0a3dc6b55">semi_implicit_euler</a></div><divclass="ttdeci">double semi_implicit_euler(double dx, double x0, double x_max, double *y, char save_to_file)</div><divclass="ttdoc">Compute approximation using the semi-implicit-Euler method in the given limits.</div><divclass="ttdef"><b>Definition:</b> ode_semi_implicit_euler.c:109</div></div>
<divclass="ttc"id="adurand__kerner__roots_8c_html_a321f9781a9744ccdaf0aba89f35ec29c"><divclass="ttname"><ahref="../../da/d38/durand__kerner__roots_8c.html#a321f9781a9744ccdaf0aba89f35ec29c">poly_function</a></div><divclass="ttdeci">long double complex poly_function(long double *coeffs, unsigned int degree, long double complex x)</div><divclass="ttdoc">Evaluate the value of a polynomial with given coefficients.</div><divclass="ttdef"><b>Definition:</b> durand_kerner_roots.c:50</div></div>
<divclass="ttc"id="afactorial__large__number_8c_html_ad398ddbd594ca69a5e6dfc894925341e"><divclass="ttname"><ahref="../../d6/d3d/factorial__large__number_8c.html#ad398ddbd594ca69a5e6dfc894925341e">multiply</a></div><divclass="ttdeci">void multiply(large_num *num, unsigned long n)</div><divclass="ttdoc">multiply large number with another integer and store the result in the same large number</div><divclass="ttdef"><b>Definition:</b> factorial_large_number.c:66</div></div>
<divclass="ttc"id="akohonen__som__trace_8c_html_af5ce14f026d6d231bef29161bac2b485"><divclass="ttname"><ahref="../../d0/d46/kohonen__som__trace_8c.html#af5ce14f026d6d231bef29161bac2b485">_random</a></div><divclass="ttdeci">double _random(double a, double b)</div><divclass="ttdoc">Helper function to generate a random number in a given interval.</div><divclass="ttdef"><b>Definition:</b> kohonen_som_trace.c:48</div></div>
<divclass="ttc"id="akohonen__som__trace_8c_html_aa2246f940155472084ee461f3685d614"><divclass="ttname"><ahref="../../d0/d46/kohonen__som__trace_8c.html#aa2246f940155472084ee461f3685d614">test_lamniscate</a></div><divclass="ttdeci">void test_lamniscate(double *const *data, int N)</div><divclass="ttdoc">Creates a random set of points distributed near the locus of the Lamniscate of Gerono.</div><divclass="ttdef"><b>Definition:</b> kohonen_som_trace.c:308</div></div>
<divclass="ttc"id="aproblem__5_2sol_8c_html_ae9606f1867e9921867d6572f51377b4c"><divclass="ttname"><ahref="../../df/de7/problem__5_2sol_8c.html#ae9606f1867e9921867d6572f51377b4c">lcm</a></div><divclass="ttdeci">unsigned long lcm(unsigned long a, unsigned long b)</div><divclass="ttdoc">Compute Least Common Multiple (LCM) of two numbers.</div><divclass="ttdef"><b>Definition:</b> sol.c:31</div></div>
<divclass="ttc"id="afibonacci__fast_8c_html_a7a3d55bd19854075cba2eed6b63cb2d3"><divclass="ttname"><ahref="../../d4/d99/fibonacci__fast_8c.html#a7a3d55bd19854075cba2eed6b63cb2d3">fib</a></div><divclass="ttdeci">void fib(unsigned long n, unsigned long *C, unsigned long *D)</div><divclass="ttdoc">Returns the and Fibonacci number.</div><divclass="ttdef"><b>Definition:</b> fibonacci_fast.c:20</div></div>
<divclass="ttc"id="astruct__cantor__set_html_abd2176c3cc3a1d85d15bbeaace35fa03"><divclass="ttname"><ahref="../../d9/dd7/struct__cantor__set.html#abd2176c3cc3a1d85d15bbeaace35fa03">_cantor_set::start</a></div><divclass="ttdeci">double start</div><divclass="ttdoc">start of interval</div><divclass="ttdef"><b>Definition:</b> cantor_set.c:13</div></div>
<divclass="ttc"id="astruct__cantor__set_html_acfc25ab716a3c79be8a5a4cab94e8def"><divclass="ttname"><ahref="../../d9/dd7/struct__cantor__set.html#acfc25ab716a3c79be8a5a4cab94e8def">_cantor_set::end</a></div><divclass="ttdeci">double end</div><divclass="ttdoc">end of interval</div><divclass="ttdef"><b>Definition:</b> cantor_set.c:14</div></div>
<divclass="ttc"id="aqr__decompose_8h_html_a90562ce8c3707401e9c5809dece68d6a"><divclass="ttname"><ahref="../../d4/d68/qr__decompose_8h.html#a90562ce8c3707401e9c5809dece68d6a">print_matrix</a></div><divclass="ttdeci">void print_matrix(double **A, int M, int N)</div><divclass="ttdoc">function to display matrix on stdout</div><divclass="ttdef"><b>Definition:</b> qr_decompose.h:22</div></div>
<divclass="ttc"id="aqr__decompose_8h_html_a3a584b79941a43d775f9d4ce446dbe05"><divclass="ttname"><ahref="../../d4/d68/qr__decompose_8h.html#a3a584b79941a43d775f9d4ce446dbe05">vector_dot</a></div><divclass="ttdeci">double vector_dot(double *a, double *b, int L)</div><divclass="ttdoc">Compute dot product of two vectors of equal lengths.</div><divclass="ttdef"><b>Definition:</b> qr_decompose.h:43</div></div>
<divclass="ttc"id="astructadaline_html_a85dbd7cce6195d11ebb388220b96bde2"><divclass="ttname"><ahref="../../d2/daa/structadaline.html#a85dbd7cce6195d11ebb388220b96bde2">adaline::eta</a></div><divclass="ttdeci">double eta</div><divclass="ttdoc">learning rate of the algorithm</div><divclass="ttdef"><b>Definition:</b> adaline_learning.c:39</div></div>
<divclass="ttc"id="astructarray__3d_html_ad823bd5424a0fc158da52a0497d8c10a"><divclass="ttname"><ahref="../../d0/dc8/structarray__3d.html#ad823bd5424a0fc158da52a0497d8c10a">array_3d::dim3</a></div><divclass="ttdeci">int dim3</div><divclass="ttdoc">lengths of thirddimension</div><divclass="ttdef"><b>Definition:</b> kohonen_som_topology.c:44</div></div>
<divclass="ttc"id="aode__semi__implicit__euler_8c_html_a8caee977b26888d34040b122e0e28e3a"><divclass="ttname"><ahref="../../d4/d99/ode__semi__implicit__euler_8c.html#a8caee977b26888d34040b122e0e28e3a">exact_solution</a></div><divclass="ttdeci">void exact_solution(const double *x, double *y)</div><divclass="ttdoc">Exact solution of the problem.</div><divclass="ttdef"><b>Definition:</b> ode_semi_implicit_euler.c:71</div></div>
<divclass="ttc"id="astructarray__3d_html_ad5d3ee546eea3c05dc8f0dc90ec194f4"><divclass="ttname"><ahref="../../d0/dc8/structarray__3d.html#ad5d3ee546eea3c05dc8f0dc90ec194f4">array_3d::dim1</a></div><divclass="ttdeci">int dim1</div><divclass="ttdoc">lengths of first dimension</div><divclass="ttdef"><b>Definition:</b> kohonen_som_topology.c:42</div></div>
<divclass="ttc"id="akohonen__som__topology_8c_html_a0283886819c7c140a023582b7269e2d0"><divclass="ttname"><ahref="../../d2/df6/kohonen__som__topology_8c.html#a0283886819c7c140a023582b7269e2d0">test2</a></div><divclass="ttdeci">void test2()</div><divclass="ttdoc">Test that creates a random set of points distributed in 4 clusters in 3D space and trains an SOM that...</div><divclass="ttdef"><b>Definition:</b> kohonen_som_topology.c:493</div></div>
<divclass="ttc"id="aode__forward__euler_8c_html_a97075291390a68c262ed66e157a57eb4"><divclass="ttname"><ahref="../../d4/d07/ode__forward__euler_8c.html#a97075291390a68c262ed66e157a57eb4">problem</a></div><divclass="ttdeci">void problem(const double *x, double *y, double *dy)</div><divclass="ttdoc">Problem statement for a system with first-order differential equations.</div><divclass="ttdef"><b>Definition:</b> ode_forward_euler.c:55</div></div>
<divclass="ttc"id="akohonen__som__topology_8c_html_adc22d512c00a9f5799ee067f4fb90b4b"><divclass="ttname"><ahref="../../d2/df6/kohonen__som__topology_8c.html#adc22d512c00a9f5799ee067f4fb90b4b">get_min_2d</a></div><divclass="ttdeci">void get_min_2d(double **X, int N, double *val, int *x_idx, int *y_idx)</div><divclass="ttdoc">Get minimum value and index of the value in a matrix.</div><divclass="ttdef"><b>Definition:</b> kohonen_som_topology.c:197</div></div>
<divclass="ttc"id="aode__semi__implicit__euler_8c_html_a97075291390a68c262ed66e157a57eb4"><divclass="ttname"><ahref="../../d4/d99/ode__semi__implicit__euler_8c.html#a97075291390a68c262ed66e157a57eb4">problem</a></div><divclass="ttdeci">void problem(const double *x, double *y, double *dy)</div><divclass="ttdoc">Problem statement for a system with first-order differential equations.</div><divclass="ttdef"><b>Definition:</b> ode_semi_implicit_euler.c:58</div></div>
<divclass="ttc"id="akohonen__som__topology_8c_html_af5ce14f026d6d231bef29161bac2b485"><divclass="ttname"><ahref="../../d2/df6/kohonen__som__topology_8c.html#af5ce14f026d6d231bef29161bac2b485">_random</a></div><divclass="ttdeci">double _random(double a, double b)</div><divclass="ttdoc">Helper function to generate a random number in a given interval.</div><divclass="ttdef"><b>Definition:</b> kohonen_som_topology.c:80</div></div>
<divclass="ttc"id="akohonen__som__trace_8c_html_a2256c10b16edba377b64a44b6c656908"><divclass="ttname"><ahref="../../d0/d46/kohonen__som__trace_8c.html#a2256c10b16edba377b64a44b6c656908">get_clock_diff</a></div><divclass="ttdeci">double get_clock_diff(clock_t start_t, clock_t end_t)</div><divclass="ttdoc">Convert clock cycle difference to time in seconds.</div><divclass="ttdef"><b>Definition:</b> kohonen_som_trace.c:500</div></div>
<divclass="ttc"id="aode__semi__implicit__euler_8c_html_a9ceb646336224ee890a269d0b4600d09"><divclass="ttname"><ahref="../../d4/d99/ode__semi__implicit__euler_8c.html#a9ceb646336224ee890a269d0b4600d09">order</a></div><divclass="ttdeci">#define order</div><divclass="ttdoc">number of dependent variables in problem</div><divclass="ttdef"><b>Definition:</b> ode_semi_implicit_euler.c:47</div></div>
<divclass="ttc"id="aproblem__26_2sol1_8c_html_aabf4f709c8199e41cf279c77112345fe"><divclass="ttname"><ahref="../../d1/df9/problem__26_2sol1_8c.html#aabf4f709c8199e41cf279c77112345fe">MAX_LEN</a></div><divclass="ttdeci">#define MAX_LEN</div><divclass="ttdoc">length of resulting recurring fraction number</div><divclass="ttdef"><b>Definition:</b> sol1.c:15</div></div>
<divclass="ttc"id="athreaded__binary__trees_8c_html_ad8ecdcce462dd8e170ae1f164935aaa6"><divclass="ttname"><ahref="../../df/d3c/threaded__binary__trees_8c.html#ad8ecdcce462dd8e170ae1f164935aaa6">node</a></div><divclass="ttdeci">struct Node node</div><divclass="ttdoc">Node, the basic data structure of the tree.</div></div>
<divclass="ttc"id="athreaded__binary__trees_8c_html_a306d567466f22e1e927aaed97d8bb58c"><divclass="ttname"><ahref="../../df/d3c/threaded__binary__trees_8c.html#a306d567466f22e1e927aaed97d8bb58c">search</a></div><divclass="ttdeci">void search(node *root, int ele)</div><divclass="ttdoc">searches for the element</div><divclass="ttdef"><b>Definition:</b> threaded_binary_trees.c:98</div></div>
<divclass="ttc"id="aproblem__5_2sol_8c_html_a59347107cbfdf48d51108e50280e760d"><divclass="ttname"><ahref="../../df/de7/problem__5_2sol_8c.html#a59347107cbfdf48d51108e50280e760d">gcd</a></div><divclass="ttdeci">unsigned long gcd(unsigned long a, unsigned long b)</div><divclass="ttdoc">Compute Greatest Common Divisor (GCD) of two numbers using Euclids algorithm.</div><divclass="ttdef"><b>Definition:</b> sol.c:11</div></div>
<divclass="ttc"id="aadaline__learning_8c_html_a4db1ba00a7f282100ea31a94e32bd7a3"><divclass="ttname"><ahref="../../dd/d8c/adaline__learning_8c.html#a4db1ba00a7f282100ea31a94e32bd7a3">predict</a></div><divclass="ttdeci">int predict(struct adaline *ada, const double *x, double *out)</div><divclass="ttdoc">predict the output of the model for given set of features</div><divclass="ttdef"><b>Definition:</b> adaline_learning.c:124</div></div>
<divclass="ttc"id="afactorial__large__number_8c_html_ab5c854e0df76165c31899e69eceeeaae"><divclass="ttname"><ahref="../../d6/d3d/factorial__large__number_8c.html#ab5c854e0df76165c31899e69eceeeaae">delete_number</a></div><divclass="ttdeci">void delete_number(large_num *num)</div><divclass="ttdoc">delete all memory allocated for large number</div><divclass="ttdef"><b>Definition:</b> factorial_large_number.c:37</div></div>
<divclass="ttc"id="alu__decompose_8c_html_aae40b90a8efd645c749128cf8072bbb4"><divclass="ttname"><ahref="../../dc/d2e/lu__decompose_8c.html#aae40b90a8efd645c749128cf8072bbb4">lu_decomposition</a></div><divclass="ttdeci">int lu_decomposition(double **A, double **L, double **U, int mat_size)</div><divclass="ttdoc">Perform LU decomposition on matrix.</div><divclass="ttdef"><b>Definition:</b> lu_decompose.c:20</div></div>
<divclass="ttc"id="astructarray__3d_html"><divclass="ttname"><ahref="../../d0/dc8/structarray__3d.html">array_3d</a></div><divclass="ttdoc">to store info regarding 3D arrays</div><divclass="ttdef"><b>Definition:</b> kohonen_som_topology.c:41</div></div>
<divclass="ttc"id="aadaline__learning_8c_html_acd88962c5f6341e43cbc69b4a7d3485b"><divclass="ttname"><ahref="../../dd/d8c/adaline__learning_8c.html#acd88962c5f6341e43cbc69b4a7d3485b">new_adaline</a></div><divclass="ttdeci">struct adaline new_adaline(const int num_features, const double eta)</div><divclass="ttdoc">Default constructor.</div><divclass="ttdef"><b>Definition:</b> adaline_learning.c:52</div></div>
<divclass="ttc"id="aadaline__learning_8c_html_a3f37b9f073f7e57fd0b39d70718af1b1"><divclass="ttname"><ahref="../../dd/d8c/adaline__learning_8c.html#a3f37b9f073f7e57fd0b39d70718af1b1">test3</a></div><divclass="ttdeci">void test3(double eta)</div><divclass="ttdoc">test function to predict points in a 3D coordinate system lying within the sphere of radius 1 and cen...</div><divclass="ttdef"><b>Definition:</b> adaline_learning.c:317</div></div>
<divclass="ttc"id="ac__atoi__str__to__integer_8c_html_a3c04138a5bfe5d72780bb7e82a18e627"><divclass="ttname"><ahref="../../d7/dd8/c__atoi__str__to__integer_8c.html#a3c04138a5bfe5d72780bb7e82a18e627">main</a></div><divclass="ttdeci">int main(int argc, char **argv)</div><divclass="ttdoc">the main function take one argument of type char* example : .</div><divclass="ttdef"><b>Definition:</b> c_atoi_str_to_integer.c:72</div></div>
<divclass="ttc"id="alu__decompose_8c_html_a0789beb8d3396582d77b7aedf5e5554a"><divclass="ttname"><ahref="../../dc/d2e/lu__decompose_8c.html#a0789beb8d3396582d77b7aedf5e5554a">display</a></div><divclass="ttdeci">void display(double **A, int N)</div><divclass="ttdoc">Function to display square matrix.</div><divclass="ttdef"><b>Definition:</b> lu_decompose.c:66</div></div>
<divclass="ttc"id="aode__midpoint__euler_8c_html_a9ceb646336224ee890a269d0b4600d09"><divclass="ttname"><ahref="../../d1/dc2/ode__midpoint__euler_8c.html#a9ceb646336224ee890a269d0b4600d09">order</a></div><divclass="ttdeci">#define order</div><divclass="ttdoc">number of dependent variables in problem</div><divclass="ttdef"><b>Definition:</b> ode_midpoint_euler.c:43</div></div>
<divclass="ttc"id="aode__forward__euler_8c_html_a8caee977b26888d34040b122e0e28e3a"><divclass="ttname"><ahref="../../d4/d07/ode__forward__euler_8c.html#a8caee977b26888d34040b122e0e28e3a">exact_solution</a></div><divclass="ttdeci">void exact_solution(const double *x, double *y)</div><divclass="ttdoc">Exact solution of the problem.</div><divclass="ttdef"><b>Definition:</b> ode_forward_euler.c:68</div></div>
<divclass="ttc"id="akohonen__som__trace_8c_html_a1440a7779ac56f47a3f355ce4a8c7da0"><divclass="ttname"><ahref="../../d0/d46/kohonen__som__trace_8c.html#a1440a7779ac56f47a3f355ce4a8c7da0">test1</a></div><divclass="ttdeci">void test1()</div><divclass="ttdoc">Test that creates a random set of points distributed near the circumference of a circle and trains an...</div><divclass="ttdef"><b>Definition:</b> kohonen_som_trace.c:250</div></div>
<divclass="ttc"id="akohonen__som__trace_8c_html_ac6afabdc09a49a433ee19d8a9486056d"><divclass="ttname"><ahref="../../d0/d46/kohonen__som__trace_8c.html#ac6afabdc09a49a433ee19d8a9486056d">min</a></div><divclass="ttdeci">#define min(a, b)</div><divclass="ttdoc">shorthand for minimum value</div><divclass="ttdef"><b>Definition:</b> kohonen_som_trace.c:30</div></div>
<divclass="ttc"id="aadaline__learning_8c_html_afa953e811eaae199d121a7ddb619d604"><divclass="ttname"><ahref="../../dd/d8c/adaline__learning_8c.html#afa953e811eaae199d121a7ddb619d604">fit_sample</a></div><divclass="ttdeci">double fit_sample(struct adaline *ada, const double *x, const int y)</div><divclass="ttdoc">Update the weights of the model using supervised learning for one feature vector.</div><divclass="ttdef"><b>Definition:</b> adaline_learning.c:145</div></div>
<divclass="ttc"id="akohonen__som__topology_8c_html_a6824dc6d973eb3339af7aef5fea78b0c"><divclass="ttname"><ahref="../../d2/df6/kohonen__som__topology_8c.html#a6824dc6d973eb3339af7aef5fea78b0c">save_2d_data</a></div><divclass="ttdeci">int save_2d_data(const char *fname, double **X, int num_points, int num_features)</div><divclass="ttdoc">Save a given n-dimensional data martix to file.</div><divclass="ttdef"><b>Definition:</b> kohonen_som_topology.c:95</div></div>
<divclass="ttc"id="anewton__raphson__root_8c_html_a72f87d423a488946b319627a454d3925"><divclass="ttname"><ahref="../../dd/d08/newton__raphson__root_8c.html#a72f87d423a488946b319627a454d3925">func</a></div><divclass="ttdeci">double complex func(double complex x)</div><divclass="ttdoc">Return value of the function to find the root for.</div><divclass="ttdef"><b>Definition:</b> newton_raphson_root.c:22</div></div>
<divclass="ttc"id="aadaline__learning_8c_html_ab4ecb3accf5d9e0263087e7265bbe3a9"><divclass="ttname"><ahref="../../dd/d8c/adaline__learning_8c.html#ab4ecb3accf5d9e0263087e7265bbe3a9">test1</a></div><divclass="ttdeci">void test1(double eta)</div><divclass="ttdoc">test function to predict points in a 2D coordinate system above the line as +1 and others as -1.</div><divclass="ttdef"><b>Definition:</b> adaline_learning.c:206</div></div>
<divclass="ttc"id="aadaline__learning_8c_html_a05cc9a0acb524fde727a4d7b4a747ee6"><divclass="ttname"><ahref="../../dd/d8c/adaline__learning_8c.html#a05cc9a0acb524fde727a4d7b4a747ee6">test2</a></div><divclass="ttdeci">void test2(double eta)</div><divclass="ttdoc">test function to predict points in a 2D coordinate system above the line as +1 and others as -1.</div><divclass="ttdef"><b>Definition:</b> adaline_learning.c:254</div></div>
<divclass="ttc"id="aode__midpoint__euler_8c_html_a148003d8b261d040c1c41e73b40af1dd"><divclass="ttname"><ahref="../../d1/dc2/ode__midpoint__euler_8c.html#a148003d8b261d040c1c41e73b40af1dd">midpoint_euler</a></div><divclass="ttdeci">double midpoint_euler(double dx, double x0, double x_max, double *y, char save_to_file)</div><divclass="ttdoc">Compute approximation using the midpoint-Euler method in the given limits.</div><divclass="ttdef"><b>Definition:</b> ode_midpoint_euler.c:106</div></div>
<divclass="ttc"id="akohonen__som__trace_8c_html_a41ae16442e3e5b891a58d2e5932a2cd0"><divclass="ttname"><ahref="../../d0/d46/kohonen__som__trace_8c.html#a41ae16442e3e5b891a58d2e5932a2cd0">test_3d_classes</a></div><divclass="ttdeci">void test_3d_classes(double *const *data, int N)</div><divclass="ttdoc">Creates a random set of points distributed in four clusters in 3D space with centroids at the points.</div><divclass="ttdef"><b>Definition:</b> kohonen_som_trace.c:399</div></div>
<divclass="ttc"id="ashell__sort2_8c_html_a4b9708d87be7a409eff20e5e7e8b43c8"><divclass="ttname"><ahref="../../d6/ded/shell__sort2_8c.html#a4b9708d87be7a409eff20e5e7e8b43c8">swap</a></div><divclass="ttdeci">void swap(int *a, int *b)</div><divclass="ttdoc">Function to swap values of two integers.</div><divclass="ttdef"><b>Definition:</b> shell_sort2.c:19</div></div>
<divclass="ttc"id="akohonen__som__topology_8c_html_affe776513b24d84b39af8ab0930fef7f"><divclass="ttname"><ahref="../../d2/df6/kohonen__som__topology_8c.html#affe776513b24d84b39af8ab0930fef7f">max</a></div><divclass="ttdeci">#define max(a, b)</div><divclass="ttdoc">shorthand for maximum value</div><divclass="ttdef"><b>Definition:</b> kohonen_som_topology.c:32</div></div>
<divclass="ttc"id="aadaline__learning_8c_html_a355fda53c238a0c0c07f03dcc021caed"><divclass="ttname"><ahref="../../dd/d8c/adaline__learning_8c.html#a355fda53c238a0c0c07f03dcc021caed">fit</a></div><divclass="ttdeci">void fit(struct adaline *ada, double **X, const int *y, const int N)</div><divclass="ttdoc">Update the weights of the model using supervised learning for an array of vectors.</div><divclass="ttdef"><b>Definition:</b> adaline_learning.c:171</div></div>
<divclass="ttc"id="astructadaline_html"><divclass="ttname"><ahref="../../d2/daa/structadaline.html">adaline</a></div><divclass="ttdoc">structure to hold adaline model parameters</div><divclass="ttdef"><b>Definition:</b> adaline_learning.c:38</div></div>
<divclass="ttc"id="akohonen__som__topology_8c_html_a1440a7779ac56f47a3f355ce4a8c7da0"><divclass="ttname"><ahref="../../d2/df6/kohonen__som__topology_8c.html#a1440a7779ac56f47a3f355ce4a8c7da0">test1</a></div><divclass="ttdeci">void test1()</div><divclass="ttdoc">Test that creates a random set of points distributed in four clusters in 2D space and trains an SOM t...</div><divclass="ttdef"><b>Definition:</b> kohonen_som_topology.c:393</div></div>
<divclass="ttc"id="astructarray__3d_html_aa431cc0a41fd379270dbd2b0e3ac1b45"><divclass="ttname"><ahref="../../d0/dc8/structarray__3d.html#aa431cc0a41fd379270dbd2b0e3ac1b45">array_3d::dim2</a></div><divclass="ttdeci">int dim2</div><divclass="ttdoc">lengths of second dimension</div><divclass="ttdef"><b>Definition:</b> kohonen_som_topology.c:43</div></div>
<divclass="ttc"id="astruct__cantor__set_html"><divclass="ttname"><ahref="../../d9/dd7/struct__cantor__set.html">_cantor_set</a></div><divclass="ttdoc">structure to define Cantor set</div><divclass="ttdef"><b>Definition:</b> cantor_set.c:12</div></div>
<divclass="ttc"id="astruct__large__num_html_afaf353a072cf050ac86ac6e39868bcc9"><divclass="ttname"><ahref="../../d3/d5a/struct__large__num.html#afaf353a072cf050ac86ac6e39868bcc9">_large_num::digits</a></div><divclass="ttdeci">char * digits</div><divclass="ttdoc">array to store individual digits</div><divclass="ttdef"><b>Definition:</b> factorial_large_number.c:16</div></div>
<divclass="ttc"id="akohonen__som__topology_8c_html_a1983dc0f35e734015772e9f8c0ff19f5"><divclass="ttname"><ahref="../../d2/df6/kohonen__som__topology_8c.html#a1983dc0f35e734015772e9f8c0ff19f5">kohonen_som</a></div><divclass="ttdeci">void kohonen_som(double **X, struct array_3d *W, int num_samples, int num_features, int num_out, double alpha_min)</div><divclass="ttdoc">Apply incremental algorithm with updating neighborhood and learning rates on all samples in the given...</div><divclass="ttdef"><b>Definition:</b> kohonen_som_topology.c:306</div></div>
<divclass="ttc"id="aode__midpoint__euler_8c_html_a97075291390a68c262ed66e157a57eb4"><divclass="ttname"><ahref="../../d1/dc2/ode__midpoint__euler_8c.html#a97075291390a68c262ed66e157a57eb4">problem</a></div><divclass="ttdeci">void problem(const double *x, double *y, double *dy)</div><divclass="ttdoc">Problem statement for a system with first-order differential equations.</div><divclass="ttdef"><b>Definition:</b> ode_midpoint_euler.c:54</div></div>
<divclass="ttc"id="acantor__set_8c_html_a75ee530cd7148a63249784ad3dda8fab"><divclass="ttname"><ahref="../../dc/d80/cantor__set_8c.html#a75ee530cd7148a63249784ad3dda8fab">print</a></div><divclass="ttdeci">void print(CantorSet *head)</div><divclass="ttdoc">Print sets in the current range to stdout</div><divclass="ttdef"><b>Definition:</b> cantor_set.c:55</div></div>
<divclass="ttc"id="aode__forward__euler_8c_html_a9ceb646336224ee890a269d0b4600d09"><divclass="ttname"><ahref="../../d4/d07/ode__forward__euler_8c.html#a9ceb646336224ee890a269d0b4600d09">order</a></div><divclass="ttdeci">#define order</div><divclass="ttdoc">number of dependent variables in problem</div><divclass="ttdef"><b>Definition:</b> ode_forward_euler.c:44</div></div>
<divclass="ttc"id="astructadaline_html_a53314e737a0a5ff4552a03bcc9dafbc1"><divclass="ttname"><ahref="../../d2/daa/structadaline.html#a53314e737a0a5ff4552a03bcc9dafbc1">adaline::num_weights</a></div><divclass="ttdeci">int num_weights</div><divclass="ttdoc">number of weights of the neural network</div><divclass="ttdef"><b>Definition:</b> adaline_learning.c:41</div></div>
<divclass="ttc"id="afactorial__large__number_8c_html_af2869d36c22a2b8f93d3166a84e124b3"><divclass="ttname"><ahref="../../d6/d3d/factorial__large__number_8c.html#af2869d36c22a2b8f93d3166a84e124b3">add_digit</a></div><divclass="ttdeci">void add_digit(large_num *num, unsigned int value)</div><divclass="ttdoc">add a digit to the large number</div><divclass="ttdef"><b>Definition:</b> factorial_large_number.c:48</div></div>
<divclass="ttc"id="akohonen__som__topology_8c_html_a2256c10b16edba377b64a44b6c656908"><divclass="ttname"><ahref="../../d2/df6/kohonen__som__topology_8c.html#a2256c10b16edba377b64a44b6c656908">get_clock_diff</a></div><divclass="ttdeci">double get_clock_diff(clock_t start_t, clock_t end_t)</div><divclass="ttdoc">Convert clock cycle difference to time in seconds.</div><divclass="ttdef"><b>Definition:</b> kohonen_som_topology.c:650</div></div>
<divclass="ttc"id="akohonen__som__topology_8c_html_adb5ded007be1fd666fab9affe6764018"><divclass="ttname"><ahref="../../d2/df6/kohonen__som__topology_8c.html#adb5ded007be1fd666fab9affe6764018">test_2d_classes</a></div><divclass="ttdeci">void test_2d_classes(double *const *data, int N)</div><divclass="ttdoc">Creates a random set of points distributed in four clusters in 3D space with centroids at the points.</div><divclass="ttdef"><b>Definition:</b> kohonen_som_topology.c:353</div></div>