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_STDDEV_ADD(3) FreeBSD Library Functions Manual KDATA_STDDEV_ADD(3)

kdata_stddev_attachattach source for standard deviation data plotting

library “libkplot”

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

int
kdata_stddev_attach(struct kdata *dst, struct kdata *source);

The kdata_stddev_attach function attaches a data source source to a standard deviation data source dst allocated with kdata_stddev_alloc(3). The internal buffers will be increased, if necessary, to the size of the new buffer. If the buffer is increased, the standard deviation values of the new buckets are set to zero. The x-values of the new pairs are set to the new source's x-values.

Passing NULL as source will simply return.

kdata_stddev_attach returns 0 if memory allocation failed or if dst was not allocated with kdata_stddev_alloc(3).

kdata_stddev_alloc(3), kplot(3)

Donald E. Knuth, The Art of Computer Programming: Seminumerical Algorithms, 3rd Edition, Addison-Wesley, Volume 2, 232, Boston, 1998.

If you attach multiple sources with different x-values, the standard deviation x-values will be inconsistent.

January 16, 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.