Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
KDATA_XMEAN(3)		    Library Functions Manual		KDATA_XMEAN(3)

NAME
       kdata_xmean, kdata_ymean	-- compute arithmetic mean of data

LIBRARY
       library "libkplot"

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

       double
       kdata_xmean(const struct	kdata *data);

       double
       kdata_ymean(const struct	kdata *data);

DESCRIPTION
       The  kdata_xmean	 and kdata_ymean functions compute the arithmetic mean
       of a data source.

RETURN VALUES
       If the data source has zero entries, kdata_xmean	and kdata_ymean	return
       0.0.  Otherwise,	they returns the mean value.

SEE ALSO
       kplot(3)

FreeBSD	ports 15.quarterly     January 26, 2015			KDATA_XMEAN(3)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=kdata_xmean&sektion=3&manpath=FreeBSD+Ports+15.0.quarterly>

home | help