Merge branch 'master' of ssh://jmd@git.sv.gnu.org/srv/git/pspp
[pspp-builds.git] / src / math / ChangeLog
1 2008-07-24   John Darrington <john@darrington.wattle.id.au>
2
3         * merge.c merge.h sort.c sort.h: Removed the value_cnt associated
4         with case ordering.  This ensures that the casereader returned by
5         sort_execute now has the same dimensions as the casereader passed 
6         in.
7
8 2008-07-24  Jason H Stover  <jhs@math.gcsu.edu>
9
10         * covariance-matrix.c (covariance_pass_two): Dropped weight
11         argument. Corrected update of the entries of the covariance
12         matrix. 
13
14         * covariance-matrix.c (column_iterate): Dropped weight
15         argument. Corrected update of the entries of the covariance
16         matrix. 
17
18         * covariance-matrix.c (covariance_update_categorical_numeric):
19         Dropped weight argument. Corrected update of the entries of the
20         covariance matrix.
21
22 2008-07-17  Jason H Stover  <jhs@math.gcsu.edu>
23
24         * covariance-matrix.c (covariance_update_categorical_numeric):
25         Altered to match new code in covariance_pass_two();
26
27         * covariance-matrix.h: Fix declaration of covariance_pass_two.
28
29         * covariance-matrix.c (covariance_pass_two): Moved numeric and
30         categorical scopes of V2 inside for loop. If V1 is not
31         categorical, but V2 is, recurse with the order of the variables
32         reversed to use the code in the previous "if" scope.
33
34 2008-07-16  Jason Stover  <jhs@math.gcsu.edu>
35
36         * covariance-matrix.c (covariance_pass_two): Renamed
37         covariance_pass_one. Fixed update of covariance matrix when both
38         variables are categorical.
39         (column_iterate): New function.
40
41 2008-07-15  Jason Stover  <jhs@math.gcsu.edu>
42
43         * covariance-matrix.c (covariance_pass_one): New file, new function.
44
45 2008-06-21  Jason Stover  <jhs@math.gcsu.edu>
46
47         * linreg.c (pspp_linreg): Accept a struct design_matrix.  Use new
48         accessor functions pspp_coeff_get_mean, pspp_coeff_get_sd.  New
49         functions pspp_linreg_get_indep_variable_mean,
50         pspp_linreg_set_indep_variable_mean,
51         pspp_linreg_get_indep_variable_sd,
52         pspp_linreg_set_indep_variable_sd. Altered pspp_linreg_get_coeff
53         to use accessor function pspp_coeff_var_to_coeff.
54
55         * coefficient.c: New functions pspp_coeff_get_mean,
56         pspp_coeff_set_mean, pspp_coeff_get_sd, pspp_coeff_set_sd,
57         pspp_coeff_var_to_coeff. Added doubles to hold mean and standard
58         deviation in struct varinfo.
59
60 2008-06-14  Jason Stover  <jhs@math.gcsu.edu>
61
62         * linreg/: moved linreg.[ch] to src/math.
63
64 2008-05-15  Ben Pfaff  <blp@gnu.org>
65
66         Patch #6512.
67
68         * moments.c (calc_moments): Use gsl_finite instead of finite, as a
69         stopgap measure for portability until appropriate gnulib modules
70         are available.
71
72 2008-03-10  Jason Stover  <jhs@math.gcsu.edu>
73
74         * coefficient.c (pspp_linreg_get_coeff): Removed use of
75         coefficient 0 as intercept.
76
77 2008-03-01  Jason Stover  <jhs@math.gcsu.edu>
78
79         * coefficient.c (pspp_coeff_init): Ensure first arg is not a null
80         pointer.
81
82         * coefficient.c (pspp_linreg_get_coeff): Make sure we don't return
83         a result beyond the last coefficient, or start with a coefficient
84         beyond the last one if there is only one.
85
86 2007-06-06  Ben Pfaff  <blp@gnu.org>
87
88         Adapt case sources, sinks, and clients of procedure code to the
89         new infrastructure.
90
91         * automake.mk: Add new files.
92         
93         * levene.c: Adapt to new casereaders.  Abstract better.
94
95         * merge.c: New file.
96
97         * merge.h: New file.
98
99         * sort.c: Rewrite in terms of case_ordering, merger.
100
101 2007-05-31  Jason Stover  <jhs@math.gcsu.edu>
102
103         * interaction.c: New file.
104         * interaction.h : New file.
105
106 Mon Feb  5 15:42:14 2007  Ben Pfaff  <blp@gnu.org>
107
108         * moments.c (moments_pass_two): Reduce number of multiplications.
109
110 Thu Dec  7 15:27:49 WST 2006 John Darrington <john@darrington.wattle.id.au>
111
112         * factor-stats.c factor-stats.h: Changed independent values to 
113         be pointers rather than copies.
114
115 Wed Dec  6 21:14:59 2006  Ben Pfaff  <blp@gnu.org>
116
117         * coefficient.c: (pspp_coeff_get_value) Compare variable pointers
118         instead of variable indexes.
119         (pspp_linreg_get_coeff) Ditto.
120         (design_matrix_col_to_var_index) Removed.
121         (design_matrix_col_to_var) Compare variable pointers
122         instead of variable indexes.
123         (cmp_dm_var_index) Ditto.
124         (design_matrix_var_to_column) Ditto.
125         (dm_var_to_last_column) Ditto.
126
127 Sun Nov  5 08:30:32 WST 2006 John Darrington <john@darrington.wattle.id.au>
128
129         * levene.c levene.h Changed to use the new casefilter structure.
130
131 2006-07-15  Jason Stover  <jhs@math.gcsu.edu>
132
133         * coefficient.c (pspp_coeff_init): Make design_matrix arg const.
134
135 2006-07-14  Jason Stover  <jhs@math.gcsu.edu>
136
137         * coefficient.c (pspp_coeff_init): Removed use of
138         pspp_linreg_cache to make the routines more generally useful.
139
140 2006-05-19  Jason Stover  <jhs@math.gcsu.edu>
141
142         * coefficient.h: Renamed pspp_linreg_coeff to pspp_coeff.
143
144         * coefficient.c: Moved to src/math.
145
146         * coefficient.h: Moved to src/math.
147
148 Tue May  9 21:09:37 2006  Ben Pfaff  <blp@gnu.org>
149
150         * sort.c (sort_active_file_to_casefile): Check return value of
151         multipass_procedure().
152
153 Wed May  3 23:06:43 2006  Ben Pfaff  <blp@gnu.org>
154
155         Continue reforming procedure execution.  In this phase, get rid of
156         many global variables, consolidating procedure execution in
157         procedure.c.  Encapsulate transformations in new "struct
158         trns_chain".  Also, change implementation of N OF CASES, FILTER,
159         and PROCESS IF from special cases to transformations.
160          
161         * sort.c: (prepare_to_sort_active_file) Don't run a procedure
162         here.
163         (sort_active_file_in_place) Rewrite to run a procedure, capture
164         the output, sort the output, and set that as the source for the
165         next procedure.
166         (struct sort_to_casefile_cb_data) New structure.
167         (sort_to_casefile_callback) New function.
168         (sort_active_file_to_casefile) Rewrite to use
169         multipass_procedure().
170
171 Sat Apr 29 11:09:33 WST 2006 John Darrington <john@darrington.wattle.id.au>
172
173         * removed unused variable.
174
175 Sat Apr 15 18:01:22 2006  Ben Pfaff  <blp@gnu.org>
176
177         * factor-stats.c (metrics_postcalc): Add casts to fix warnings.
178
179 Thu Mar  2 08:40:33 WST 2006 John Darrington <john@darrington.wattle.id.au>
180         
181         * Moved files from src directory