GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
KDATA_PMFMEAN(3) FreeBSD Library Functions Manual KDATA_PMFMEAN(3)

kdata_pmfmeancompute probability mass function mean of data

library “libkplot”

#include <cairo.h>
#include <kplot.h>

double
kdata_pmfmean(const struct kdata *data);

The kdata_pmfmean function compute the mean (i.e., expected value) of its data as if it were a probability mass function.

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.

kdata_pmfstddev(3), kdata_pmfvar(3), kplot(3)

January 29, 2015 FreeBSD 14.3-RELEASE

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.