[gnumeric] Introspection: more docs.



commit 8b1d8ff8ba4899e3da1fe8ba3bc4c5aeefa174ed
Author: Morten Welinder <terra gnome org>
Date:   Fri Mar 22 15:47:48 2013 -0400

    Introspection: more docs.

 NEWS                |    1 +
 src/outoflinedocs.c |   32 ++++++++++++++++++++++++++++++++
 2 files changed, 33 insertions(+), 0 deletions(-)
---
diff --git a/NEWS b/NEWS
index 3d9b8ac..8956a69 100644
--- a/NEWS
+++ b/NEWS
@@ -5,6 +5,7 @@ Morten:
        * New font selector for toolbar.  [#695031]
        * Embed more artwork.
        * Plug leaks.
+       * Introspection improvements.
 
 --------------------------------------------------------------------------
 Gnumeric 1.12.1
diff --git a/src/outoflinedocs.c b/src/outoflinedocs.c
index 39167ff..189c7c4 100644
--- a/src/outoflinedocs.c
+++ b/src/outoflinedocs.c
@@ -389,3 +389,35 @@
  */
 
 /* ------------------------------------------------------------------------- */
+
+/**
+ * dpois:
+ * @x: observation
+ * @lambda: the mean of the distribution
+ * @give_log: if %TRUE, log of the result will be returned instead
+ *
+ * Returns: density of the Poisson distribution.
+ */
+
+/**
+ * ppois:
+ * @x: observation
+ * @lambda: the mean of the distribution
+ * @lower_tail: if %TRUE, the lower tail of the distribution is considered.
+ * @log_p: if %TRUE, log of the result will be returned instead
+ *
+ * Returns: cumulative density of the Poisson distribution.
+ */
+
+/**
+ * qpois:
+ * @p: probability
+ * @lambda: the mean of the distribution
+ * @lower_tail: if %TRUE, the lower tail of the distribution is considered.
+ * @log_p: if %TRUE, @p is given as log probability
+ *
+ * Returns: the observation with cumulative probability @p for the
+ * Poisson distribution.
+ */
+
+/* ------------------------------------------------------------------------- */


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]