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.  
  69. Comments: 
  70.  
  71. the first line, a ONE-LINE title, can have no control characters 
  72. or tabs; 
  73.  
  74. the ONE-WORD (there can be NO white space within them) mnemonic 
  75. identifiers ("data[ndata][y,yc,w,a,b,p]=", "nvert=", etc.) 
  76. must ALL be present;
  77.  
  78. the identifier must be separated by white space from the value(s)
  79. following for it;
  80.  
  81. the order of presentation of the identifier-value sets is fixed, 
  82. but the number of spaces or tabs or newlines, etc. between values 
  83. is not important (ie, there are no format fields);
  84.  
  85. the number of values read in the set of values after "simplex.." 
  86. is <nvert> x <nparm>;
  87.  
  88. the number of values read in the set of values after "data.." 
  89. is <ndata> x <ndatval>;  generally <ndatval> >= 4, because the 
  90. aggregate <data> must store for each point values for 
  91. y(observed), y(calculated), the statistical weight, and one or 
  92. more independent variables;
  93.  
  94. descriptive comments (like these) can be placed at the end of the 
  95. data file.
  96.  
  97.  
  98. NOTE:
  99.  
  100. set the starting simplex large, to include all reasonable 
  101. values of the principal parameters;
  102.  
  103. set exit_test tight, to minimize problems with the quadratic fit;
  104.  
  105. set prt_cycle and quad_test at 30, so that every 30 iterations 
  106. the intermediate results are stored on disk and selectively a 
  107. quadratic fitting is carried out, to speed convergence;
  108.  
  109. by setting maxquad_skip nonzero, if a quadratic fit fails, 
  110. then the next 1 to maxquad_skip quadratic fit attempts are passed over.
  111. .pa
  112.  
  113.