home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / misc / volume16 / nlmdl / patch1 / pch01 next >
Encoding:
Text File  |  1991-01-19  |  3.6 KB  |  115 lines

  1. ------- patchlevel.h -------
  2. Prereq: 0
  3. *** ../nlmdl_ver_2.0_unpacked/patchlevel.h    Sat Jan 12 09:24:28 1991
  4. --- patchlevel.h    Sat Jan 12 08:42:32 1991
  5. ***************
  6. *** 25,30 ****
  7.   
  8.   ------------------------------------------------------------------------- */
  9.   
  10. ! #define  PATCHLEVEL  0
  11.   
  12.   
  13. --- 25,30 ----
  14.   
  15.   ------------------------------------------------------------------------- */
  16.   
  17. ! #define  PATCHLEVEL  1
  18.   
  19.   
  20. ------- README -------
  21. *** ../nlmdl_ver_2.0_unpacked/README    Sat Jan 12 09:24:19 1991
  22. --- README    Sat Jan 12 08:20:34 1991
  23. ***************
  24. *** 20,28 ****
  25.   As distributed, the code is set up for use with GNU's 1.37 g++ compiler on a 
  26.   Unix box.  To test the code using one of the examples, e.g. ch1eg1, cd to 
  27.   ch1eg1 and type  make -f ../Makefile.  Each directory has a file detail.bak 
  28. ! created using  nlmdl > detail.bak that used for comparison.  For version 1.35 
  29. ! of g++, the #undef and #define for I/O style in usual.h will have to be set to 
  30. ! GNU.  The code hasn't been tested with other versions.  
  31.   
  32.   The code can also be used with Borland's Turbo C++ compiler.  To use Turbo C++, 
  33.   permute the #undef and #define for compiler choice in usual.h, copy the 
  34. --- 20,28 ----
  35.   As distributed, the code is set up for use with GNU's 1.37 g++ compiler on a 
  36.   Unix box.  To test the code using one of the examples, e.g. ch1eg1, cd to 
  37.   ch1eg1 and type  make -f ../Makefile.  Each directory has a file detail.bak 
  38. ! created using  nlmdl > detail.bak that can be used for comparison.  For version 
  39. ! 1.35 of g++, the #undef and #define for I/O style in usual.h will have to be 
  40. ! set to GNU.  The code hasn't been tested with other versions.  
  41.   
  42.   The code can also be used with Borland's Turbo C++ compiler.  To use Turbo C++, 
  43.   permute the #undef and #define for compiler choice in usual.h, copy the 
  44. ------- nlmdl.h -------
  45. *** ../nlmdl_ver_2.0_unpacked/nlmdl.h    Sat Jan 12 09:24:34 1991
  46. --- nlmdl.h    Sat Jan 12 09:05:14 1991
  47. ***************
  48. *** 69,75 ****
  49.   class model is declared in model.h which should match the following template:
  50.   
  51.      #include "status.h"
  52. !    external status s;
  53.   
  54.      class model
  55.      {   
  56. --- 69,75 ----
  57.   class model is declared in model.h which should match the following template:
  58.   
  59.      #include "status.h"
  60. !    extern    status s;
  61.   
  62.      class model
  63.      {   
  64. ***************
  65. *** 91,97 ****
  66.   
  67.   For SUR, code the function Z as follows:
  68.   
  69. !    realmat model::Z(INTEGER t) { }
  70.   
  71.   In writing the class model, the relevant facts regarding program flow in 
  72.   nlmdl.cc are as follows: 
  73. --- 91,97 ----
  74.   
  75.   For SUR, code the function Z as follows:
  76.   
  77. !    void model::Z(INTEGER t) { }
  78.   
  79.   In writing the class model, the relevant facts regarding program flow in 
  80.   nlmdl.cc are as follows: 
  81. ***************
  82. *** 134,140 ****
  83.          m.dele_t.resize(s.M,s.p);
  84.          if (s.K > 0) m.Z_t.resize(s.K,1);
  85.                             
  86. !      and estimation proceeds using these settings and dimensions.  
  87.   
  88.     4. Finally, terminate() of class model is called; terminate() can read data, 
  89.        write data, etc.  If terminate() returns 0 execution stops, otherwise 
  90. --- 134,140 ----
  91.          m.dele_t.resize(s.M,s.p);
  92.          if (s.K > 0) m.Z_t.resize(s.K,1);
  93.                             
  94. !      Estimation proceeds using these settings and dimensions.  
  95.   
  96.     4. Finally, terminate() of class model is called; terminate() can read data, 
  97.        write data, etc.  If terminate() returns 0 execution stops, otherwise 
  98. ***************
  99. *** 161,167 ****
  100.   #include "status.h"
  101.   #include "model.h"
  102.   
  103. ! #define  VERSION "2.0"
  104.   
  105.   #endif
  106.   
  107. --- 161,167 ----
  108.   #include "status.h"
  109.   #include "model.h"
  110.   
  111. ! #define  VERSION "2.1"
  112.   
  113.   #endif
  114.   
  115.