Fixed memory leak. Made coeff a linreg_coeff** for easier use.
[pspp-builds.git] / src / math / linreg / ChangeLog
index 7b6ee73d3f28ac46cb6572ec3b9efe426b03427b..c30ff4d080db90f4a55799d2763d49d7f900511d 100644 (file)
@@ -1,3 +1,77 @@
+2006-05-11  Jason Stover  <jhs@math.gcsu.edu>
+
+       * linreg.h: Made linreg_cache's coeff a pspp_linreg_coeff**. 
+
+2006-04-28  Jason Stover  <jhs@math.gcsu.edu>
+
+       * linreg.c (pspp_linreg_get_vars): New function. Fills an array with
+       pointers to the variables used in the model.
+
+       * linreg.h: Add a pointer called get_vars to pspp_linreg_get_vars()
+       to access variables in a model.
+
+       * coefficient.c (pspp_linreg_coeff_init): Set the variable
+       associated with the intercept term to NULL.
+
+2006-04-26  Jason Stover  <jhs@math.gcsu.edu>
+
+       * linreg.h: Added a pointer to predicted values.
+
+       * linreg.c (pspp_linreg_cache_alloc): Initialized pointer to
+       predicted values.
+
+2006-04-22  Jason Stover  <jhs@debs.hjklfdsss.org>
+
+       * predict.c (pspp_linreg_residual): Removed unnecessary cast of c_
+       to pspp_linreg_cache.
+
+2006-04-18  Jason Stover  <jhs@math.gcsu.edu>
+
+       * linreg.h: Added a pointer to a variable to store the resduals.
+
+       * linreg.c (pspp_linreg_cache_alloc): Initialize the residual
+       variable pointer to NULL.
+
+2006-04-17  Jason Stover  <jason@wonko.gcsu.edu>
+
+       * linreg.c (pspp_linreg_cache_free): Accept a pointer of type
+       void to match definition of trns_proc_func.
+
+2006-04-17  Jason Stover  <jhs@math.gcsu.edu>
+
+       * linreg.c (pspp_linreg_cache_free): Return a bool.
+
+Sat Apr 15 18:03:01 2006  Ben Pfaff  <blp@gnu.org>
+
+       * predict.c (pspp_linreg_predict): Change prototype to match
+       struct pspp_linreg_cache_struct's predict member.
+       * predict.c (pspp_linreg_residual): Change prototype to match
+       struct pspp_linreg_cache_struct's residual member.
+
+Sat Apr 15 18:01:39 2006  Ben Pfaff  <blp@gnu.org>
+
+       * coefficient.c (pspp_linreg_get_coeff): Compare n_indeps against
+       0, instead of NULL, because it's an integer type.
+
+Mon Apr  3 13:20:54 2006  Ben Pfaff  <blp@gnu.org>
+
+       * linreg.c (pspp_linreg): Move declaration before code for C90
+       compliance.
+
+2006-04-09  Jason Stover  <jhs@math.gcsu.edu>
+
+       * predict.c (pspp_linreg_predict): Do something sensible even with
+       bad input.
+
+2006-04-07  Jason Stover  <jhs@math.gcsu.edu>
+
+       * predict.c (pspp_linreg_predict): Improved handling of null
+       pointer args.
+
+       * predict.c (pspp_linreg_residuals): New function.
+
+       * coefficient.c: Improved handling of null pointer args.
+
 2006-04-05  Jason Stover  <jhs@math.gcsu.edu>
 
        * predict.c: New file. pspp_linreg_predict() uses a linear model