FreeBSD Manual Pages
KDATA_PMFMEAN(3) Library Functions Manual KDATA_PMFMEAN(3) NAME kdata_pmfmean -- compute probability mass function mean of data LIBRARY library "libkplot" SYNOPSIS #include <cairo.h> #include <kplot.h> double kdata_pmfmean(const struct kdata *data); DESCRIPTION The kdata_pmfmean function compute the mean (i.e., expected value) of its data as if it were a probability mass function. RETURN VALUES If the data source has zero entries or the sum of the y values is 0.0, kdata_pmfmean returns 0.0. Otherwise, it returns the mean value. SEE ALSO kdata_pmfstddev(3), kdata_pmfvar(3), kplot(3) FreeBSD ports 15.quarterly January 29, 2015 KDATA_PMFMEAN(3)
NAME | LIBRARY | SYNOPSIS | DESCRIPTION | RETURN VALUES | SEE ALSO
Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=kdata_pmfmean&sektion=3&manpath=FreeBSD+Ports+15.0.quarterly>
