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