## Model parameters
<- 500
@@ -3262,6 +3262,7 @@ n Part 2: C++
diff --git a/09-midterm/homework.html b/09-midterm/homework.html index aa15610..0ecef1b 100644 --- a/09-midterm/homework.html +++ b/09-midterm/homework.html @@ -3103,7 +3103,7 @@
Tuesday, February 28
+Thursday, October 31
You can read more here.
+As we saw in the Rcpp week, vectorization may not be the best solution. For this part, you must write a function using Rcpp that implements the scale-free algorithm. The following code implements this in R:
## Model parameters
<- 500
@@ -3262,6 +3262,7 @@ n Part 2: C++
Rewrite the function that generates the scale-free network using Rcpp.