X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fmath%2Fnp.h;h=4bd86e526f26095cdc0ae49045e017feaf7fc0bd;hb=affc364e2d29fad9f18acba43ca81ce7ec0589aa;hp=b5265bd41f72c57d5b895a578a428971957fb61a;hpb=b46b794dfb9f0758aafec83f50993d1930894099;p=pspp diff --git a/src/math/np.h b/src/math/np.h index b5265bd41f..4bd86e526f 100644 --- a/src/math/np.h +++ b/src/math/np.h @@ -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; @@ -53,7 +53,6 @@ struct np struct casewriter *writer; }; - -struct np * np_create (const struct moments1 *); +struct np *np_create (double n, double mean, double var); #endif