sakura_StatisticsResultFloat Struct Reference

A structure in which the result of sakura_ComputeStatisticsFloat and sakura_ComputeAccurateStatisticsFloat is stored. More...

#include <sakura.h>

List of all members.

Public Attributes

size_t count
 number of valid data
double sum
 sum of valid data
double square_sum
 sum of squared valid data
float min
 min value of valid data.
float max
 max value of valid data.
ssize_t index_of_min
 index for one of min value.
ssize_t index_of_max
 index for one of max value.

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

number of valid data

index for one of max value.

-1 if there is no valid data.

index for one of min value.

-1 if there is no valid data.

max value of valid data.

NaN if no valid data.

min value of valid data.

NaN if no valid data.

sum of squared valid data

sum of valid data


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

Generated on 24 Nov 2016 for LibSakura by  doxygen 1.6.1