http://blog.csdn.net/qq_34941023/article/details/51571191
apply函数族:http://www.cnblogs.com/aquastone/p/r-apply.html
向量化代替for循环赋值:http://bbs.pinggu.org/thread-3806298-1-1.html