projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added files in src/output
[pspp]
/
lib
/
linreg
/
sweep.c
diff --git
a/lib/linreg/sweep.c
b/lib/linreg/sweep.c
index 6e114266c7ac0f64b5d2d89729a3fb7f568555ce..8805840e2c4f0261af1cc3df92267919a20d626d 100644
(file)
--- a/
lib/linreg/sweep.c
+++ b/
lib/linreg/sweep.c
@@
-45,7
+45,7
@@
Springer. 1998. ISBN 0-387-98542-5.
*/
Springer. 1998. ISBN 0-387-98542-5.
*/
-#include "
pspp_linreg
.h"
+#include "
sweep
.h"
/*
The matrix A will be overwritten. In ordinary uses of the sweep
/*
The matrix A will be overwritten. In ordinary uses of the sweep
@@
-58,7
+58,7
@@
-- --
X refers to the design matrix and Y to the vector of dependent
-- --
X refers to the design matrix and Y to the vector of dependent
- observations.
pspp_
reg_sweep sweeps on the diagonal elements of
+ observations. reg_sweep sweeps on the diagonal elements of
X'X.
The matrix A is assumed to be symmetric, so the sweep operation is
X'X.
The matrix A is assumed to be symmetric, so the sweep operation is
@@
-66,7
+66,7
@@
*/
int
*/
int
-
pspp_
reg_sweep (gsl_matrix * A)
+reg_sweep (gsl_matrix * A)
{
double sweep_element;
double tmp;
{
double sweep_element;
double tmp;