The DO Loop

Statistical programming in SAS with an emphasis on SAS/IML programs
Learn SAS
Rick Wicklin 1
How to vectorize time series computations

Vector languages such as SAS/IML, MATLAB, and R are powerful because they enable you to use high-level matrix operations (matrix multiplication, dot products, etc) rather than loops that perform scalar operations. In general, vectorized programs are more efficient (and therefore run faster) than programs that contain loops. For an example

1 140 141 142 143 144 174