blob: 392d41a00249d7124a95e072d81759d34151074b [file] [log] [blame]
<!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"/>
<title>CMSIS DSP Software Library: arm_class_marks_example_f32.c Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javaScript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body onload='searchBox.OnSelectItem(0);'>
<!-- Generated by Doxygen 1.7.2 -->
<script type="text/javascript"><!--
var searchBox = new SearchBox("searchBox", "search",false,'Search');
--></script>
<div class="navigation" id="top">
<div class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main&#160;Page</span></a></li>
<li><a href="modules.html"><span>Modules</span></a></li>
<li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
<li class="current"><a href="files.html"><span>Files</span></a></li>
<li><a href="examples.html"><span>Examples</span></a></li>
<li id="searchli">
<div id="MSearchBox" class="MSearchBoxInactive">
<span class="left">
<img id="MSearchSelect" src="search/mag_sel.png"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
alt=""/>
<input type="text" id="MSearchField" value="Search" accesskey="S"
onfocus="searchBox.OnSearchFieldFocus(true)"
onblur="searchBox.OnSearchFieldFocus(false)"
onkeyup="searchBox.OnSearchFieldChange(event)"/>
</span><span class="right">
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
</span>
</div>
</li>
</ul>
</div>
<div class="tabs2">
<ul class="tablist">
<li><a href="files.html"><span>File&#160;List</span></a></li>
<li><a href="globals.html"><span>Globals</span></a></li>
</ul>
</div>
<div class="header">
<div class="headertitle">
<h1>arm_class_marks_example_f32.c</h1> </div>
</div>
<div class="contents">
<a href="arm__class__marks__example__f32_8c.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/* ---------------------------------------------------------------------- </span>
<a name="l00002"></a>00002 <span class="comment">* Copyright (C) 2010 ARM Limited. All rights reserved. </span>
<a name="l00003"></a>00003 <span class="comment">* </span>
<a name="l00004"></a>00004 <span class="comment">* $Date: 29. November 2010 </span>
<a name="l00005"></a>00005 <span class="comment">* $Revision: V1.0.3 </span>
<a name="l00006"></a>00006 <span class="comment">* </span>
<a name="l00007"></a>00007 <span class="comment">* Project: CMSIS DSP Library </span>
<a name="l00008"></a>00008 <span class="comment">* Title: arm_class_marks_example_f32.c </span>
<a name="l00009"></a>00009 <span class="comment">* </span>
<a name="l00010"></a>00010 <span class="comment">* Description: Example code to calculate Minimum, Maximum </span>
<a name="l00011"></a>00011 <span class="comment">* Mean, std and variance of marks obtained in a class </span>
<a name="l00012"></a>00012 <span class="comment">* </span>
<a name="l00013"></a>00013 <span class="comment">* Target Processor: Cortex-M4/Cortex-M3</span>
<a name="l00014"></a>00014 <span class="comment">*</span>
<a name="l00015"></a>00015 <span class="comment">* Version 1.0.3 2010/11/29 </span>
<a name="l00016"></a>00016 <span class="comment">* Re-organized the CMSIS folders and updated documentation. </span>
<a name="l00017"></a>00017 <span class="comment">* </span>
<a name="l00018"></a>00018 <span class="comment">* Version 1.0.1 2010/10/05 KK </span>
<a name="l00019"></a>00019 <span class="comment">* Production release and review comments incorporated. </span>
<a name="l00020"></a>00020 <span class="comment">*</span>
<a name="l00021"></a>00021 <span class="comment">* Version 1.0.0 2010/09/20 KK</span>
<a name="l00022"></a>00022 <span class="comment">* Production release and review comments incorporated.</span>
<a name="l00023"></a>00023 <span class="comment">* ------------------------------------------------------------------- */</span>
<a name="l00024"></a>00024
<a name="l00067"></a>00067 <span class="preprocessor">#include &quot;<a class="code" href="arm__math_8h.html">arm_math.h</a>&quot;</span>
<a name="l00068"></a>00068
<a name="l00069"></a><a class="code" href="arm__class__marks__example__f32_8c.html#a821d6c5973940580f5a045e7cf64b7f2">00069</a> <span class="preprocessor">#define USE_STATIC_INIT </span>
<a name="l00070"></a>00070 <span class="preprocessor"></span>
<a name="l00071"></a>00071 <span class="comment">/* ---------------------------------------------------------------------- </span>
<a name="l00072"></a>00072 <span class="comment">** Global defines </span>
<a name="l00073"></a>00073 <span class="comment">** ------------------------------------------------------------------- */</span>
<a name="l00074"></a>00074
<a name="l00075"></a><a class="code" href="arm__class__marks__example__f32_8c.html#abc004a7fade488e72310fd96c0a101dc">00075</a> <span class="preprocessor">#define TEST_LENGTH_SAMPLES (20*4) </span>
<a name="l00076"></a>00076 <span class="preprocessor"></span>
<a name="l00077"></a>00077 <span class="comment">/* ---------------------------------------------------------------------- </span>
<a name="l00078"></a>00078 <span class="comment">** List of Marks scored by 20 students for 4 subjects </span>
<a name="l00079"></a>00079 <span class="comment">** ------------------------------------------------------------------- */</span>
<a name="l00080"></a><a class="code" href="arm__class__marks__example__f32_8c.html#a0153222efa82b7f1a0ea3835921bf921">00080</a> <span class="keyword">const</span> <a class="code" href="arm__math_8h.html#a4611b605e45ab401f02cab15c5e38715" title="32-bit floating-point type definition.">float32_t</a> <a class="code" href="arm__class__marks__example__f32_8c.html#a0153222efa82b7f1a0ea3835921bf921">testMarks_f32</a>[<a class="code" href="arm__class__marks__example__f32_8c.html#abc004a7fade488e72310fd96c0a101dc">TEST_LENGTH_SAMPLES</a>] =
<a name="l00081"></a>00081 {
<a name="l00082"></a>00082 42.000000, 37.000000, 81.000000, 28.000000,
<a name="l00083"></a>00083 83.000000, 72.000000, 36.000000, 38.000000,
<a name="l00084"></a>00084 32.000000, 51.000000, 63.000000, 64.000000,
<a name="l00085"></a>00085 97.000000, 82.000000, 95.000000, 90.000000,
<a name="l00086"></a>00086 66.000000, 51.000000, 54.000000, 42.000000,
<a name="l00087"></a>00087 67.000000, 56.000000, 45.000000, 57.000000,
<a name="l00088"></a>00088 67.000000, 69.000000, 35.000000, 52.000000,
<a name="l00089"></a>00089 29.000000, 81.000000, 58.000000, 47.000000,
<a name="l00090"></a>00090 38.000000, 76.000000, 100.000000, 29.000000,
<a name="l00091"></a>00091 33.000000, 47.000000, 29.000000, 50.000000,
<a name="l00092"></a>00092 34.000000, 41.000000, 61.000000, 46.000000,
<a name="l00093"></a>00093 52.000000, 50.000000, 48.000000, 36.000000,
<a name="l00094"></a>00094 47.000000, 55.000000, 44.000000, 40.000000,
<a name="l00095"></a>00095 100.000000, 94.000000, 84.000000, 37.000000,
<a name="l00096"></a>00096 32.000000, 71.000000, 47.000000, 77.000000,
<a name="l00097"></a>00097 31.000000, 50.000000, 49.000000, 35.000000,
<a name="l00098"></a>00098 63.000000, 67.000000, 40.000000, 31.000000,
<a name="l00099"></a>00099 29.000000, 68.000000, 61.000000, 38.000000,
<a name="l00100"></a>00100 31.000000, 28.000000, 28.000000, 76.000000,
<a name="l00101"></a>00101 55.000000, 33.000000, 29.000000, 39.000000
<a name="l00102"></a>00102 };
<a name="l00103"></a>00103
<a name="l00104"></a>00104
<a name="l00105"></a>00105 <span class="comment">/* ---------------------------------------------------------------------- </span>
<a name="l00106"></a>00106 <span class="comment">* Number of subjects X 1 </span>
<a name="l00107"></a>00107 <span class="comment">* ------------------------------------------------------------------- */</span>
<a name="l00108"></a><a class="code" href="arm__class__marks__example__f32_8c.html#a993b9b2a1faf43b319c1c6d58b26e7a1">00108</a> <span class="keyword">const</span> <a class="code" href="arm__math_8h.html#a4611b605e45ab401f02cab15c5e38715" title="32-bit floating-point type definition.">float32_t</a> <a class="code" href="arm__class__marks__example__f32_8c.html#a993b9b2a1faf43b319c1c6d58b26e7a1">testUnity_f32</a>[4] =
<a name="l00109"></a>00109 {
<a name="l00110"></a>00110 1.000, 1.000, 1.000, 1.000
<a name="l00111"></a>00111 };
<a name="l00112"></a>00112
<a name="l00113"></a>00113
<a name="l00114"></a>00114 <span class="comment">/* ---------------------------------------------------------------------- </span>
<a name="l00115"></a>00115 <span class="comment">** f32 Output buffer </span>
<a name="l00116"></a>00116 <span class="comment">** ------------------------------------------------------------------- */</span>
<a name="l00117"></a><a class="code" href="arm__class__marks__example__f32_8c.html#afd4d61aad5f35a4e42d580004e2f9a1d">00117</a> <span class="keyword">static</span> <a class="code" href="arm__math_8h.html#a4611b605e45ab401f02cab15c5e38715" title="32-bit floating-point type definition.">float32_t</a> <a class="code" href="arm__class__marks__example__f32_8c.html#afd4d61aad5f35a4e42d580004e2f9a1d">testOutput</a>[<a class="code" href="arm__class__marks__example__f32_8c.html#abc004a7fade488e72310fd96c0a101dc">TEST_LENGTH_SAMPLES</a>];
<a name="l00118"></a>00118
<a name="l00119"></a>00119
<a name="l00120"></a>00120 <span class="comment">/* ------------------------------------------------------------------ </span>
<a name="l00121"></a>00121 <span class="comment">* Global defines </span>
<a name="l00122"></a>00122 <span class="comment">*------------------------------------------------------------------- */</span>
<a name="l00123"></a><a class="code" href="arm__class__marks__example__f32_8c.html#a9d89ac0707e7c9363544986d47a70bd3">00123</a> <span class="preprocessor">#define NUMSTUDENTS 20 </span>
<a name="l00124"></a><a class="code" href="arm__class__marks__example__f32_8c.html#a7b02f9b34bf2cd4d12633f5bf30771ec">00124</a> <span class="preprocessor"></span><span class="preprocessor">#define NUMSUBJECTS 4 </span>
<a name="l00125"></a>00125 <span class="preprocessor"></span>
<a name="l00126"></a>00126 <span class="comment">/* ------------------------------------------------------------------ </span>
<a name="l00127"></a>00127 <span class="comment">* Global variables </span>
<a name="l00128"></a>00128 <span class="comment">*------------------------------------------------------------------- */</span>
<a name="l00129"></a>00129
<a name="l00130"></a><a class="code" href="arm__class__marks__example__f32_8c.html#ab3b66d06b4af1af4ea2740d0ccf4e7bd">00130</a> uint32_t <a class="code" href="arm__class__marks__example__f32_8c.html#ab3b66d06b4af1af4ea2740d0ccf4e7bd">numStudents</a> = 20;
<a name="l00131"></a><a class="code" href="arm__class__marks__example__f32_8c.html#a3d01884f63bcb694226ca7c24980757a">00131</a> uint32_t <a class="code" href="arm__class__marks__example__f32_8c.html#a3d01884f63bcb694226ca7c24980757a">numSubjects</a> = 4;
<a name="l00132"></a><a class="code" href="arm__class__marks__example__f32_8c.html#a3bd39c4335d84be071cc1eaa9b0a8642">00132</a> <a class="code" href="arm__math_8h.html#a4611b605e45ab401f02cab15c5e38715" title="32-bit floating-point type definition.">float32_t</a> <a class="code" href="arm__class__marks__example__f32_8c.html#aad32888fa966b3d9db9c31bcbba9d9ef">max_marks</a>, <a class="code" href="arm__class__marks__example__f32_8c.html#abb7687fa07ec54d8e792cfcbfe2ca809">min_marks</a>, <a class="code" href="arm__class__marks__example__f32_8c.html#acc9290716b3c97381ce52d14b4b01681">mean</a>, <a class="code" href="arm__class__marks__example__f32_8c.html#a150b0cf729b51893379f5b5548d4f989">std</a>, <a class="code" href="arm__class__marks__example__f32_8c.html#a3bd39c4335d84be071cc1eaa9b0a8642">var</a>;
<a name="l00133"></a><a class="code" href="arm__class__marks__example__f32_8c.html#a798cf43a3725d7df2fcaf3f328969f53">00133</a> uint32_t <a class="code" href="arm__class__marks__example__f32_8c.html#a798cf43a3725d7df2fcaf3f328969f53">student_num</a>;
<a name="l00134"></a>00134
<a name="l00135"></a>00135 <span class="comment">/* ---------------------------------------------------------------------------------- </span>
<a name="l00136"></a>00136 <span class="comment">* Main f32 test function. It returns maximum marks secured and student number </span>
<a name="l00137"></a>00137 <span class="comment">* ------------------------------------------------------------------------------- */</span>
<a name="l00138"></a>00138
<a name="l00139"></a><a class="code" href="arm__class__marks__example__f32_8c.html#a196718f834091385d38586a0ce4009dc">00139</a> int32_t <a class="code" href="arm__class__marks__example__f32_8c.html#a196718f834091385d38586a0ce4009dc">main</a>()
<a name="l00140"></a>00140 {
<a name="l00141"></a>00141
<a name="l00142"></a>00142 <span class="preprocessor">#ifndef USE_STATIC_INIT </span>
<a name="l00143"></a>00143 <span class="preprocessor"></span>
<a name="l00144"></a>00144 <a class="code" href="structarm__matrix__instance__f32.html" title="Instance structure for the floating-point matrix structure.">arm_matrix_instance_f32</a> srcA;
<a name="l00145"></a>00145 <a class="code" href="structarm__matrix__instance__f32.html" title="Instance structure for the floating-point matrix structure.">arm_matrix_instance_f32</a> srcB;
<a name="l00146"></a>00146 <a class="code" href="structarm__matrix__instance__f32.html" title="Instance structure for the floating-point matrix structure.">arm_matrix_instance_f32</a> dstC;
<a name="l00147"></a>00147
<a name="l00148"></a>00148 <span class="comment">/* Input and output matrices initializations */</span>
<a name="l00149"></a>00149 <a class="code" href="group___matrix_init.html#ga11e3dc41592a6401c13182fef9416a27" title="Floating-point matrix initialization.">arm_mat_init_f32</a>(&amp;srcA, <a class="code" href="arm__class__marks__example__f32_8c.html#ab3b66d06b4af1af4ea2740d0ccf4e7bd">numStudents</a>, <a class="code" href="arm__class__marks__example__f32_8c.html#a3d01884f63bcb694226ca7c24980757a">numSubjects</a>, (<a class="code" href="arm__math_8h.html#a4611b605e45ab401f02cab15c5e38715" title="32-bit floating-point type definition.">float32_t</a> *)<a class="code" href="arm__class__marks__example__f32_8c.html#a0153222efa82b7f1a0ea3835921bf921">testMarks_f32</a>);
<a name="l00150"></a>00150 <a class="code" href="group___matrix_init.html#ga11e3dc41592a6401c13182fef9416a27" title="Floating-point matrix initialization.">arm_mat_init_f32</a>(&amp;srcB, <a class="code" href="arm__class__marks__example__f32_8c.html#a3d01884f63bcb694226ca7c24980757a">numSubjects</a>, 1, (<a class="code" href="arm__math_8h.html#a4611b605e45ab401f02cab15c5e38715" title="32-bit floating-point type definition.">float32_t</a> *)<a class="code" href="arm__class__marks__example__f32_8c.html#a993b9b2a1faf43b319c1c6d58b26e7a1">testUnity_f32</a>);
<a name="l00151"></a>00151 <a class="code" href="group___matrix_init.html#ga11e3dc41592a6401c13182fef9416a27" title="Floating-point matrix initialization.">arm_mat_init_f32</a>(&amp;dstC, <a class="code" href="arm__class__marks__example__f32_8c.html#ab3b66d06b4af1af4ea2740d0ccf4e7bd">numStudents</a>, 1, <a class="code" href="arm__class__marks__example__f32_8c.html#afd4d61aad5f35a4e42d580004e2f9a1d">testOutput</a>);
<a name="l00152"></a>00152
<a name="l00153"></a>00153 <span class="preprocessor">#else </span>
<a name="l00154"></a>00154 <span class="preprocessor"></span>
<a name="l00155"></a>00155 <span class="comment">/* Static Initializations of Input and output matrix sizes and array */</span>
<a name="l00156"></a>00156 <a class="code" href="structarm__matrix__instance__f32.html" title="Instance structure for the floating-point matrix structure.">arm_matrix_instance_f32</a> srcA = {<a class="code" href="arm__class__marks__example__f32_8c.html#a9d89ac0707e7c9363544986d47a70bd3">NUMSTUDENTS</a>, <a class="code" href="arm__class__marks__example__f32_8c.html#a7b02f9b34bf2cd4d12633f5bf30771ec">NUMSUBJECTS</a>, (<a class="code" href="arm__math_8h.html#a4611b605e45ab401f02cab15c5e38715" title="32-bit floating-point type definition.">float32_t</a> *)testMarks_f32};
<a name="l00157"></a>00157 <a class="code" href="structarm__matrix__instance__f32.html" title="Instance structure for the floating-point matrix structure.">arm_matrix_instance_f32</a> srcB = {<a class="code" href="arm__class__marks__example__f32_8c.html#a7b02f9b34bf2cd4d12633f5bf30771ec">NUMSUBJECTS</a>, 1, (<a class="code" href="arm__math_8h.html#a4611b605e45ab401f02cab15c5e38715" title="32-bit floating-point type definition.">float32_t</a> *)testUnity_f32};
<a name="l00158"></a>00158 <a class="code" href="structarm__matrix__instance__f32.html" title="Instance structure for the floating-point matrix structure.">arm_matrix_instance_f32</a> dstC = {<a class="code" href="arm__class__marks__example__f32_8c.html#a9d89ac0707e7c9363544986d47a70bd3">NUMSTUDENTS</a>, 1, <a class="code" href="arm__class__marks__example__f32_8c.html#afd4d61aad5f35a4e42d580004e2f9a1d">testOutput</a>};
<a name="l00159"></a>00159
<a name="l00160"></a>00160 <span class="preprocessor">#endif </span>
<a name="l00161"></a>00161 <span class="preprocessor"></span>
<a name="l00162"></a>00162
<a name="l00163"></a>00163 <span class="comment">/* ---------------------------------------------------------------------- </span>
<a name="l00164"></a>00164 <span class="comment"> *Call the Matrix multiplication process function </span>
<a name="l00165"></a>00165 <span class="comment"> * ------------------------------------------------------------------- */</span>
<a name="l00166"></a>00166 <a class="code" href="group___matrix_mult.html#ga917bf0270310c1d3f0eda1fc7c0026a0" title="Floating-point matrix multiplication.">arm_mat_mult_f32</a>(&amp;srcA, &amp;srcB, &amp;dstC);
<a name="l00167"></a>00167
<a name="l00168"></a>00168 <span class="comment">/* ---------------------------------------------------------------------- </span>
<a name="l00169"></a>00169 <span class="comment"> ** Call the Max function to calculate max marks among numStudents </span>
<a name="l00170"></a>00170 <span class="comment"> ** ------------------------------------------------------------------- */</span>
<a name="l00171"></a>00171 <a class="code" href="group___max.html#ga5b89d1b04575aeec494f678695fb87d8" title="Maximum value of a floating-point vector.">arm_max_f32</a>(<a class="code" href="arm__class__marks__example__f32_8c.html#afd4d61aad5f35a4e42d580004e2f9a1d">testOutput</a>, <a class="code" href="arm__class__marks__example__f32_8c.html#ab3b66d06b4af1af4ea2740d0ccf4e7bd">numStudents</a>, &amp;<a class="code" href="arm__class__marks__example__f32_8c.html#aad32888fa966b3d9db9c31bcbba9d9ef">max_marks</a>, &amp;<a class="code" href="arm__class__marks__example__f32_8c.html#a798cf43a3725d7df2fcaf3f328969f53">student_num</a>);
<a name="l00172"></a>00172
<a name="l00173"></a>00173 <span class="comment">/* ---------------------------------------------------------------------- </span>
<a name="l00174"></a>00174 <span class="comment"> ** Call the Min function to calculate min marks among numStudents </span>
<a name="l00175"></a>00175 <span class="comment"> ** ------------------------------------------------------------------- */</span>
<a name="l00176"></a>00176 <a class="code" href="group___min.html#gaf62b1673740fc516ea64daf777b7d74a" title="Minimum value of a floating-point vector.">arm_min_f32</a>(<a class="code" href="arm__class__marks__example__f32_8c.html#afd4d61aad5f35a4e42d580004e2f9a1d">testOutput</a>, <a class="code" href="arm__class__marks__example__f32_8c.html#ab3b66d06b4af1af4ea2740d0ccf4e7bd">numStudents</a>, &amp;<a class="code" href="arm__class__marks__example__f32_8c.html#abb7687fa07ec54d8e792cfcbfe2ca809">min_marks</a>, &amp;<a class="code" href="arm__class__marks__example__f32_8c.html#a798cf43a3725d7df2fcaf3f328969f53">student_num</a>);
<a name="l00177"></a>00177
<a name="l00178"></a>00178 <span class="comment">/* ---------------------------------------------------------------------- </span>
<a name="l00179"></a>00179 <span class="comment"> ** Call the Mean function to calculate mean </span>
<a name="l00180"></a>00180 <span class="comment"> ** ------------------------------------------------------------------- */</span>
<a name="l00181"></a>00181 <a class="code" href="group__mean.html#ga74ce08c49ab61e57bd50c3a0ca1fdb2b" title="Mean value of a floating-point vector.">arm_mean_f32</a>(<a class="code" href="arm__class__marks__example__f32_8c.html#afd4d61aad5f35a4e42d580004e2f9a1d">testOutput</a>, <a class="code" href="arm__class__marks__example__f32_8c.html#ab3b66d06b4af1af4ea2740d0ccf4e7bd">numStudents</a>, &amp;<a class="code" href="arm__class__marks__example__f32_8c.html#acc9290716b3c97381ce52d14b4b01681">mean</a>);
<a name="l00182"></a>00182
<a name="l00183"></a>00183 <span class="comment">/* ---------------------------------------------------------------------- </span>
<a name="l00184"></a>00184 <span class="comment"> ** Call the std function to calculate standard deviation </span>
<a name="l00185"></a>00185 <span class="comment"> ** ------------------------------------------------------------------- */</span>
<a name="l00186"></a>00186 <a class="code" href="group___s_t_d.html#ga4969b5b5f3d001377bc401a3ee99dfc2" title="Standard deviation of the elements of a floating-point vector.">arm_std_f32</a>(<a class="code" href="arm__class__marks__example__f32_8c.html#afd4d61aad5f35a4e42d580004e2f9a1d">testOutput</a>, <a class="code" href="arm__class__marks__example__f32_8c.html#ab3b66d06b4af1af4ea2740d0ccf4e7bd">numStudents</a>, &amp;<a class="code" href="arm__class__marks__example__f32_8c.html#a150b0cf729b51893379f5b5548d4f989">std</a>);
<a name="l00187"></a>00187
<a name="l00188"></a>00188 <span class="comment">/* ---------------------------------------------------------------------- </span>
<a name="l00189"></a>00189 <span class="comment"> ** Call the var function to calculate variance </span>
<a name="l00190"></a>00190 <span class="comment"> ** ------------------------------------------------------------------- */</span>
<a name="l00191"></a>00191 <a class="code" href="group__variance.html#ga393f26c5a3bfa05624fb8d32232a6d96" title="Variance of the elements of a floating-point vector.">arm_var_f32</a>(<a class="code" href="arm__class__marks__example__f32_8c.html#afd4d61aad5f35a4e42d580004e2f9a1d">testOutput</a>, <a class="code" href="arm__class__marks__example__f32_8c.html#ab3b66d06b4af1af4ea2740d0ccf4e7bd">numStudents</a>, &amp;<a class="code" href="arm__class__marks__example__f32_8c.html#a3bd39c4335d84be071cc1eaa9b0a8642">var</a>);
<a name="l00192"></a>00192
<a name="l00193"></a>00193 }
<a name="l00194"></a>00194
<a name="l00195"></a>00195
</pre></div></div>
</div>
<!--- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Data Structures</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Defines</a></div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<hr class="footer"/><address class="footer"><small>Generated on Fri Jul 15 2011 13:16:15 for CMSIS DSP Software Library by&#160;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.2 </small></address>
</body>
</html>