Can we vectorize?
Vectorization is a method to implicitly parallelize simple operations on a series of inputs that are present in the R workspace. It relies on low-level loops to perform a single operation on many inputs. And it is faster than any parallelization we can perform. We should employ vectorization whenever the situation allows it.
Latihan ini adalah bagian dari kursus
Parallel Programming in R
Latihan interaktif praktis
Ubah teori menjadi tindakan dengan salah satu latihan interaktif kami.
Mulai berolahraga