LibSakura
5.2
|
A structure in which the result of sakura_ComputeStatisticsFloat and sakura_ComputeAccurateStatisticsFloat is stored. More...
#include <sakura.h>
Public Attributes | |
size_t | count |
number of valid data More... | |
double | sum |
sum of valid data More... | |
double | square_sum |
sum of squared valid data More... | |
float | min |
min value of valid data. More... | |
float | max |
max value of valid data. More... | |
ssize_t | index_of_min |
index for one of min value. More... | |
ssize_t | index_of_max |
index for one of max value. More... | |
A structure in which the result of sakura_ComputeStatisticsFloat and sakura_ComputeAccurateStatisticsFloat is stored.
You can also calculate following statistics from the members of this struct if count > 0:
size_t sakura_StatisticsResultFloat::count |
number of valid data
ssize_t sakura_StatisticsResultFloat::index_of_max |
index for one of max value.
-1 if there is no valid data.
ssize_t sakura_StatisticsResultFloat::index_of_min |
index for one of min value.
-1 if there is no valid data.
float sakura_StatisticsResultFloat::max |
max value of valid data.
NaN if no valid data.
float sakura_StatisticsResultFloat::min |
min value of valid data.
NaN if no valid data.
double sakura_StatisticsResultFloat::square_sum |
sum of squared valid data
double sakura_StatisticsResultFloat::sum |
sum of valid data