17.11.2012 Views

Numerical recipes

Numerical recipes

Numerical recipes

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

168 Chapter 5. Evaluation of Functions<br />

}<br />

}<br />

wksp[j+1]=0.5*(wksp[j]+tmp);<br />

tmp=dum;<br />

}<br />

wksp[nterm+1]=0.5*(wksp[nterm]+tmp);<br />

if (fabs(wksp[nterm+1])

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!