Do
Usage Message: Do[expr, {imax}] evaluates expr imax times. Do[expr, {i, imax}] evaluates expr with the variable i successively taking on the values 1 through imax (in steps of 1). Do[expr, {i, imin, imax}] starts with i = imin. Do[expr, {i, imin, imax, di}] uses steps di. Do[expr, {i, imin, imax}, {j, jmin, jmax}, ... ] evaluates expr looping over different values of j, etc. for each i. Attributes[Do] = {HoldAll, Protected} Notes:
Additional Online Documentation:
Mathematica 3.0
http://documents.wolfram.com/v3/RefGuide/Do.html
Mathematica 4.0
http://documents.wolfram.com/v4/RefGuide/Do.html
Questions or comments? Send email to support@wolfram.com.
| |