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