Untitled Document Book Cover

PC-based compiling

Course Design

Compiling Hints

Scanf() information.

Assorted C routines.

Errata

Program files

Useful, free, scientific software.

Links (open in new window):
Java Code (unmaintained).

Will's Homepage

Errata and Elucidations:

PageWhatThanks to:
37 You might find that the computer does not recognize your compiled command "xbd". If so, it may mean that your present directory is not listed in your path. These words may not mean anything to you, but you might be able to fix the situation by typing instead "./xbd", which tells the computer to look in the local directory to find the compiled command which you are attempting to execute.
47 mean/variance updating citation: A.J. Miller, 1989, J.Comp.Phys. 85: 500-501.
51 At the middle of the page it should read: "...as the population size increases, intraspecific competition...." Thomas Schmickl
60-61 See my link to "scanf() information" for instructions on running the logistic birth--death program.
61 End of line 6 should read: "...expanded version of line 5."
61 Middle of Line 7 discussion should read: "Line 7 demonstrates a ..."
64-65 In the discussion of Section 3.5 and in Figure 3.6 the "K"s should actually be "kappa"s, in congruence with the discussion of Sections 3.2 and 3.3. Young Joon, Ahn
80 A third of the way down on the page should read: "...has several similar arrays that..."
107 Below the new parameter definitions it should read, "a_12 and a_21 are the competion .... Shane Richards
110 The comment in the code should read: /* b12+b21<1 */
113 I never described the use of "--k" as it appears on a line in the code on this page. It decrements the variable before it is used in the array indexing.
114 Fourth line of code from the bottom should read: "if((i+1)%60==0) ..." Downloadable code has it written correctly. It's a minor issue anyway.
166-167 In Move(), con->time=0.0 must appear after con->inrate is calculated. This is only a typo; the following simulations used the correct code.
183 Top equation: The (pi H/N) terms ought to be multiplied by an N to get total pollen import, giving pi H/(P0+pi H). Yu Zhang
243 There's a term on the second line that reads: "... something like rho(1-rho).^10" The period should be after the 10, not before it. A mysterious typo because my copy-ready version I sent to Cambridge Press has it correct, but the book has the typo. Somehow the period moved....(I'm guessing someone thought the 10 was a citation).
267 Middle of page should read: "...up the gradient to a higher performance."