pspp-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Pspp-cvs] pspp/src/math/linreg linreg.h linreg.c ChangeLog


From: Jason H Stover
Subject: [Pspp-cvs] pspp/src/math/linreg linreg.h linreg.c ChangeLog
Date: Wed, 26 Apr 2006 19:22:51 +0000

CVSROOT:        /sources/pspp
Module name:    pspp
Branch:         
Changes by:     Jason H Stover <address@hidden> 06/04/26 19:22:51

Modified files:
        src/math/linreg: linreg.h linreg.c ChangeLog 

Log message:
        added pointer to predicted values

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/pspp/pspp/src/math/linreg/linreg.h.diff?tr1=1.10&tr2=1.11&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/pspp/pspp/src/math/linreg/linreg.c.diff?tr1=1.10&tr2=1.11&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/pspp/pspp/src/math/linreg/ChangeLog.diff?tr1=1.10&tr2=1.11&r1=text&r2=text

Patches:
Index: pspp/src/math/linreg/ChangeLog
diff -u pspp/src/math/linreg/ChangeLog:1.10 pspp/src/math/linreg/ChangeLog:1.11
--- pspp/src/math/linreg/ChangeLog:1.10 Sat Apr 22 13:50:40 2006
+++ pspp/src/math/linreg/ChangeLog      Wed Apr 26 19:22:51 2006
@@ -1,3 +1,10 @@
+2006-04-26  Jason Stover  <address@hidden>
+
+       * linreg.h: Added a pointer to predicted values.
+
+       * linreg.c (pspp_linreg_cache_alloc): Initialized pointer to
+       predicted values.
+
 2006-04-22  Jason Stover  <address@hidden>
 
        * predict.c (pspp_linreg_residual): Removed unnecessary cast of c_
Index: pspp/src/math/linreg/linreg.c
diff -u pspp/src/math/linreg/linreg.c:1.10 pspp/src/math/linreg/linreg.c:1.11
--- pspp/src/math/linreg/linreg.c:1.10  Wed Apr 19 01:21:06 2006
+++ pspp/src/math/linreg/linreg.c       Wed Apr 26 19:22:51 2006
@@ -118,6 +118,7 @@
   c->predict = pspp_linreg_predict;
   c->residual = pspp_linreg_residual; /* The procedure to comput my residuals. 
*/
   c->resid = NULL; /* The variable storing my residuals. */
+  c->pred = NULL; /* The variable storing my predicted values. */
 
   return c;
 }
Index: pspp/src/math/linreg/linreg.h
diff -u pspp/src/math/linreg/linreg.h:1.10 pspp/src/math/linreg/linreg.h:1.11
--- pspp/src/math/linreg/linreg.h:1.10  Wed Apr 19 01:20:33 2006
+++ pspp/src/math/linreg/linreg.h       Wed Apr 26 19:22:51 2006
@@ -164,6 +164,7 @@
                      const union value *,
                      const void *, int);
   struct variable *resid;
+  struct variable *pred;
 };
 
 typedef struct pspp_linreg_cache_struct pspp_linreg_cache;




reply via email to

[Prev in Thread] Current Thread [Next in Thread]