5. Vectorization is the more limited process of converting a computer program from a scalar implementation, which processes a single pair of operands at a time, to a vector implementation which processes one operation on multiple pairs of operands at once. The term comes from the convention of putting operands into vectors or arrays.
6. 向量化 @R 向量取值: V[1:10] 向量赋值: V[1:10] <- seq(1,10) apply 系列: apply(A, 1, mean) 矩阵运算: A + B ; A %*% B …