TheAlgorithms/C++ 1.0.0
All the algorithms implemented in C++
|
Compute statistics for data entered in rreal-time. More...
#include <cassert>
#include <cmath>
#include <iostream>
Go to the source code of this file.
Classes | |
class | statistics::stats_computer1< T > |
class | statistics::stats_computer2< T > |
Namespaces | |
namespace | statistics |
Statistical algorithms. | |
Functions | |
void | test_function (const float *test_data, const int number_of_samples) |
int | main (int argc, char **argv) |
Compute statistics for data entered in rreal-time.
This algorithm is really beneficial to compute statistics on data read in realtime. For example, devices reading biometrics data. The algorithm is simple enough to be easily implemented in an embedded system.
Definition in file realtime_stats.cpp.
int main | ( | int | argc, |
char ** | argv ) |
Main function
Definition at line 158 of file realtime_stats.cpp.
void test_function | ( | const float * | test_data, |
const int | number_of_samples ) |
Test the algorithm implementation
[in] | test_data | array of data to test the algorithms |
Definition at line 118 of file realtime_stats.cpp.