MathGroup Archive 1999

[Date Index] [Thread Index] [Author Index]

Search the Archive

Local Variables


I am most confused... Nested Sums seem to be able to
refer to their
predecessors' iterators as in: 
" Sum[DoSomething, {i, 1, whatever},{j,
j=i+1,someotherwhatever}
     ]"... but:
"For[i = 1, i < whatever, i++,
	For[j = 1, j < someotherwhatever, j++,
	  Do Something[[i]][[j]]
	   ]
   ]" doesn't.
What am I missing?
Thanks in advance.


  • Prev by Date: TridiagonalSolve gone?
  • Next by Date: Mathematica help
  • Previous by thread: Re: TridiagonalSolve gone?
  • Next by thread: Re: Local Variables