home *** CD-ROM | disk | FTP | other *** search
/ C/C++ Interactive Guide / c-cplusplus-interactive-guide.iso / c_ref / csource4 / 209_01 / simpfitr.dat < prev    next >
Encoding:
Text File  |  1990-03-05  |  3.4 KB  |  111 lines

  1. (ENTER ONE LINE TITLE) (THIS DEMONSTRATION TEMPLATE FILE IS SETUP FOR LDHDATA)
  2.  
  3. nvert= 7        nparm= 7
  4.  
  5. ndata(ENTER-VALUE-HERE)= __            ndatval= 6
  6.  
  7. iter= 0            maxquad_skip= 4        exit_test= 1.E-8
  8.  
  9. prt_cycle= 30        quad_test= 30
  10.  
  11. starting-simplex[nvert][nparm=V,KmA,KmB,KmAB,KmPQ,1/K(I,B),small]= 
  12. 1       .001    .01     .001    .001    1E-6    1E-10 
  13. 10      .001    .01     .001    .001    1E-6    1E-10 
  14. 1       .1      .01     .001    .001    1E-6    1E-10 
  15. 1       .001    1       .001    .001    1E-6    1E-10 
  16. 1       .001    .01     .1      .001    1E-6    1E-10 
  17. 1       .001    .01     .001    .1      1E-6    1E-10 
  18. 1       .001    .01     .001    .001    1E-2    1E-10 
  19.  
  20. data[ndata][y,yc,w,a,b,p](ENTER-THE-FIRST-COLUMN-OF-Y-VALUES)= 
  21. _.___   0       1       .011    .15     0 
  22. _.___   0       1       .015    .15     0 
  23. _.___   0       1       .022    .15     0 
  24. _.___   0       1       .035    .15     0 
  25.  
  26. _.___   0       1       .011    .22     0 
  27. _.___   0       1       .015    .22     0 
  28. _.___   0       1       .022    .22     0 
  29. _.___   0       1       .035    .22     0 
  30.  
  31. _.___   0       1       .011    .35     0 
  32. _.___   0       1       .015    .35     0 
  33. _.___   0       1       .022    .35     0 
  34. _.___   0       1       .035    .35     0 
  35.  
  36. _.___   0       1       .011    .70     0 
  37. _.___   0       1       .015    .70     0 
  38. _.___   0       1       .022    .70     0 
  39. _.___   0       1       .035    .70     0 
  40.  
  41. _.___   0       1       .011    .15     0 
  42. _.___   0       1       .035    .15     0 
  43. _.___   0       1       .011    .70     0 
  44. _.___   0       1       .035    .70     0 
  45.  
  46. _.___   0       1       .035    .15     150 
  47. _.___   0       1       .035    .22     150 
  48. _.___   0       1       .035    .35     150 
  49. _.___   0       1       .035    .70     150 
  50.  
  51. _.___   0       1       .035    .15     150 
  52. _.___   0       1       .035    .70     150 
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68. Comments: 
  69.  
  70. the first line, a ONE-LINE title, can have no control characters 
  71. or tabs; 
  72.  
  73. the ONE-WORD (there can be NO white space within them) mnemonic 
  74. identifiers ("data[ndata][y,yc,w,a,b,p]=", "nvert=", etc.) 
  75. must ALL be present;
  76.  
  77. the identifier must be separated by white space from the value(s)
  78. following for it;
  79.  
  80. the order of presentation of the identifier-value sets is fixed, 
  81. but the number of spaces or tabs or newlines, etc. between values 
  82. is not important (ie, there are no format fields);
  83.  
  84. the number of values read in the set of values after "simplex.." 
  85. is <nvert> x <nparm>;
  86.  
  87. the number of values read in the set of values after "data.." 
  88. is <ndata> x <ndatval>;  generally <ndatval> >= 4, because the 
  89. aggregate <data> must store for each point values for 
  90. y(observed), y(calculated), the statistical weight, and one or 
  91. more independent variables;
  92.  
  93. descriptive comments (like these) can be placed at the end of the 
  94. data file.
  95.  
  96.  
  97. NOTE:
  98.  
  99. set the starting simplex large, to include all reasonable 
  100. values of the principal parameters;
  101.  
  102. set exit_test tight, to minimize problems with the quadratic fit;
  103.  
  104. set prt_cycle and quad_test at 30, so that every 30 iterations 
  105. the intermediate results are stored on disk and selectively a 
  106. quadratic fitting is carried out, to speed convergence;
  107.  
  108. by setting maxquad_skip nonzero, if a quadratic fit fails, 
  109. then the next 1 to maxquad_skip quadratic fit attempts are passed over.
  110. .pa
  111.