LibSakura  5.2
Public Attributes | List of all members
sakura_StatisticsResultFloat Struct Reference

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...
 

Detailed Description

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:

Member Data Documentation

◆ count

size_t sakura_StatisticsResultFloat::count

number of valid data

◆ index_of_max

ssize_t sakura_StatisticsResultFloat::index_of_max

index for one of max value.

-1 if there is no valid data.

◆ index_of_min

ssize_t sakura_StatisticsResultFloat::index_of_min

index for one of min value.

-1 if there is no valid data.

◆ max

float sakura_StatisticsResultFloat::max

max value of valid data.

NaN if no valid data.

◆ min

float sakura_StatisticsResultFloat::min

min value of valid data.

NaN if no valid data.

◆ square_sum

double sakura_StatisticsResultFloat::square_sum

sum of squared valid data

◆ sum

double sakura_StatisticsResultFloat::sum

sum of valid data


The documentation for this struct was generated from the following file: