BaşlayınÜcretsiz Başlayın

Delayed square roots

Futures delay the execution of code until the results are needed. This is usually when the value is called explicitly. You have the following code to create a future for the calculation of square roots for numbers one to a million.

require(future)

numbers <- 1:1000000

future_sqrt <- future(sqrt(numbers))

Which of the following statements is/are true about future_sqrt?

Bu egzersiz

Parallel Programming in R

kursunun bir parçasıdır
Kursu Görüntüle

Uygulamalı interaktif egzersiz

İnteraktif egzersizlerimizden biriyle teoriyi pratiğe dökün

Egzersizi başlat