第一是John M. Chambers在其著作“Software for Data Analysis Programming with R”( https://bbs.pinggu.org/thread-3716983-1-1.html)中有一小节专门系统地阐述“向量化”的问题,其中P159页第一段是这么叙述的——
“Functions that operate efficiently on whole objects to produce other
whole objects, usually of the same size and structure; examples include
the arithmetic and other binary operators, numerical transformation,
sorting and ordering computations, and some specialized filtering func-
tions, such as ifelse().”