math: Improve comments.
[pspp] / src / math / np.h
index b5265bd41f72c57d5b895a578a428971957fb61a..998bee089e20fd66f83288fe4d42fb4de1ea8b9c 100644 (file)
@@ -19,7 +19,6 @@
 
 #include "order-stats.h"
 
-struct moments1;
 struct casewriter;
 
 enum
@@ -30,6 +29,8 @@ enum
     n_NP_IDX
   };
 
+/* Statistics needed to produce a normal probability plot with
+   np_plot_create(). */
 struct np
 {
   struct order_stats parent;
@@ -38,7 +39,6 @@ struct np
   double mean;
   double stddev;
 
-
   double prev_cc;
 
   double ns_min;
@@ -54,6 +54,6 @@ struct np
 };
 
 
-struct np * np_create (const struct moments1 *);
+struct np * np_create (double n, double mean, double var);
 
 #endif