KDATA_XSTDDEV(3) Library Functions Manual KDATA_XSTDDEV(3)

NAME

kdata_xstddev, kdata_ystddevcompute population standard deviation of data

LIBRARY

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)
January 29, 2015 OpenBSD 5.8