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_XMAX(3) FreeBSD Library Functions Manual KDATA_XMAX(3)

kdata_xmax, kdata_ymax, — find maxima in a data source

library “libkplot”

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

ssize_t
kdata_xmax(const struct kdata *data, struct kpair *kp);

ssize_t
kdata_ymax(const struct kdata *data, struct kpair *kp);

The kdata_xmax and kdata_ymax functions find the maximum point in a data source, filling in kp if it is not NULL. The maximum point is the first maximum: thus, if multiple minima exist of the same value, the first will be returned.

If the data source has zero entries, kdata_xmax and kdata_ymax return -1. Otherwise, they return the index of the maximum.

kdata_xmin(3), kdata_ymin(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.