fix memory leaks; bug 21056
[pspp-builds.git] / src / math / linreg / ChangeLog
1 2007-09-21  Jason Stover  <jhs@wonko.gcsu.edu>
2
3         * linreg.c (pspp_linreg_cache_free): Partial fix of memory leak,
4         bug 21056.
5
6 2007-08-11  Jason Stover  <jhs@math.gcsu.edu>
7
8         * linreg.h (enum): Dropped ambiguous PSPP_LINREG_SVD in favor of
9         PSPP_LINREG_QR. Added PSPP_LINREG_CONDITIONAL_INVERSE.
10
11         * linreg.c (pspp_linreg): Added scope and comment for use of
12         generalized inverse to solve normal equations.
13
14 2007-04-12  Jason Stover  <jhs@math.gcsu.edu>
15
16         * linreg.c: (pspp_linreg_cache_free) Check for null pointer before
17         freeing.
18
19 Wed Dec  6 21:16:22 2006  Ben Pfaff  <blp@gnu.org>
20
21         * linreg.c: (pspp_linreg_get_vars) Compare variable pointers
22         instead of variable indexes.
23
24 2006-05-19  Jason Stover  <jhs@math.gcsu.edu>
25
26         * coefficient.c: Moved to src/math.
27
28         * coefficient.h: Moved to src/math.
29
30 2006-05-11  Jason Stover  <jhs@math.gcsu.edu>
31
32         * linreg.h: Made linreg_cache's coeff a pspp_linreg_coeff**. 
33
34 2006-04-28  Jason Stover  <jhs@math.gcsu.edu>
35
36         * linreg.c (pspp_linreg_get_vars): New function. Fills an array with
37         pointers to the variables used in the model.
38
39         * linreg.h: Add a pointer called get_vars to pspp_linreg_get_vars()
40         to access variables in a model.
41
42         * coefficient.c (pspp_linreg_coeff_init): Set the variable
43         associated with the intercept term to NULL.
44
45 2006-04-26  Jason Stover  <jhs@math.gcsu.edu>
46
47         * linreg.h: Added a pointer to predicted values.
48
49         * linreg.c (pspp_linreg_cache_alloc): Initialized pointer to
50         predicted values.
51
52 2006-04-22  Jason Stover  <jhs@debs.hjklfdsss.org>
53
54         * predict.c (pspp_linreg_residual): Removed unnecessary cast of c_
55         to pspp_linreg_cache.
56
57 2006-04-18  Jason Stover  <jhs@math.gcsu.edu>
58
59         * linreg.h: Added a pointer to a variable to store the resduals.
60
61         * linreg.c (pspp_linreg_cache_alloc): Initialize the residual
62         variable pointer to NULL.
63
64 2006-04-17  Jason Stover  <jason@wonko.gcsu.edu>
65
66         * linreg.c (pspp_linreg_cache_free): Accept a pointer of type
67         void to match definition of trns_proc_func.
68
69 2006-04-17  Jason Stover  <jhs@math.gcsu.edu>
70
71         * linreg.c (pspp_linreg_cache_free): Return a bool.
72
73 Sat Apr 15 18:03:01 2006  Ben Pfaff  <blp@gnu.org>
74
75         * predict.c (pspp_linreg_predict): Change prototype to match
76         struct pspp_linreg_cache_struct's predict member.
77         * predict.c (pspp_linreg_residual): Change prototype to match
78         struct pspp_linreg_cache_struct's residual member.
79
80 Sat Apr 15 18:01:39 2006  Ben Pfaff  <blp@gnu.org>
81
82         * coefficient.c (pspp_linreg_get_coeff): Compare n_indeps against
83         0, instead of NULL, because it's an integer type.
84
85 Mon Apr  3 13:20:54 2006  Ben Pfaff  <blp@gnu.org>
86
87         * linreg.c (pspp_linreg): Move declaration before code for C90
88         compliance.
89
90 2006-04-09  Jason Stover  <jhs@math.gcsu.edu>
91
92         * predict.c (pspp_linreg_predict): Do something sensible even with
93         bad input.
94
95 2006-04-07  Jason Stover  <jhs@math.gcsu.edu>
96
97         * predict.c (pspp_linreg_predict): Improved handling of null
98         pointer args.
99
100         * predict.c (pspp_linreg_residuals): New function.
101
102         * coefficient.c: Improved handling of null pointer args.
103
104 2006-04-05  Jason Stover  <jhs@math.gcsu.edu>
105
106         * predict.c: New file. pspp_linreg_predict() uses a linear model
107         to return a predicted value of the dependent variable.
108
109         * coefficient.c: Added pspp_linreg_coeff_get_est() and
110         pspp_linreg_coeff_get_std_err() to access estimated values of
111         coefficients and standard errors.
112
113 2006-04-03  Jason Stover  <jhs@math.gcsu.edu>
114
115         * coefficient.c: Added pspp_linreg_get_coeff() to find a
116         coefficient corresponding to a variable/value combination.
117
118 Thu Mar  2 08:40:33 WST 2006 John Darrington <john@darrington.wattle.id.au>
119         
120         * Moved files from src directory