Warning: Undefined variable $info in /home1/josetxoc/public_html/certif/showmanual.php on line 43

Warning: Trying to access array offset on value of type null in /home1/josetxoc/public_html/certif/functions.php on line 96

Warning: Undefined variable $thispage in /home1/josetxoc/public_html/certif/showmanual.php on line 50

C-PLOT

Scientific Graphics and Data Analysis

12.21.2. - Initial definitions



These first lines are included at the beginning of all fitting C modules.
#define VERSION 5

#define NUM_XS  1       /* Independent variables */
#define MAXPAR  2       /* Parameters */
#define MAXPTS  1024    /* Most points for fitting */
#define MAXPLT  1024    /* Most for pg ps md mr sA */

#include <math.h>
#include <p_fitsize.h>
Lines that begin with a # are directives for the C preprocessor. In these instances, either a manifest constant is defined or the contents of another source file are to be included. VERSION indicates the version of the prototype file you are using. Its value is used by other preprocessor directives in the included file p_fitsize.h and should not be changed.

You select values for the next four definitions. NUM_XS selects the number of independent variables you wish to use. Most often its value is one, but you may have as many as you like. Define MAXPAR to be your total number of parameters. Its value must agree with the number of elements in the structure initial defined below. MAXPTS will be the maximum number of data points you can fit at a time. MAXPLT limits the number of in-core points of the total (up to 65,636) you can send to or receive from the plot program with the commands pg, ps, md, mr and sA.


Warning: Undefined variable $thispage in /home1/josetxoc/public_html/certif/showmanual.php on line 73