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.

}<br />

2.7 Sparse Linear Systems 81<br />

jp=ija[m]; Use bisection to find which row element<br />

jl=1;<br />

m is in and put that into ijb[k].<br />

ju=n2-1;<br />

while (ju-jl > 1) {<br />

jm=(ju+jl)/2;<br />

if (ija[jm] > m) ju=jm; else jl=jm;<br />

}<br />

ijb[k]=jl;<br />

}<br />

for (j=jp+1;j

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

Saved successfully!

Ooh no, something went wrong!