KDATA_XSTDDEV(3)

NAME
kdata_xstddev, kdata_ystddev - compute population standard deviation of data

LIBRARY
libkplot

SYNOPSIS
#include <cairo.h>
#include <kplot.h>
double
kdata_xstddev(const struct kdata *data);
double
kdata_ystddev(const struct kdata *data);

DESCRIPTION
The kdata_xstddev and kdata_ystddev functions compute the population standard deviation of the arithmetic mean of data.

RETURN VALUES
If the data source has zero entries, kdata_xstddev and kdata_ystddev return 0.0. Otherwise, they returns the standard deviation value.

SEE ALSO
kdata_xmean(3), kdata_ymean(3), kplot(3)