Skip to content

Commit 93c1c06

Browse files
authored
♻️ [AR] Update book chapter (#6)
1 parent 5b39822 commit 93c1c06

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

book/src/ar_models.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ ARModel<order> fit_ar_yule_walkter(const std::vector<double> &x) {
273273
274274
- The class holds parameters + forecasting but the algorithms live outside. This way, I can add/replace estimators without modifying the class.
275275
276-
- `typename ARModel<order>::Vector` why the `typename`? Inside templates, dependent names might be types or values. `typename` tells the compiler it’s a type.
276+
- `typename ARModel<order>::Vector`: why the `typename`? Inside templates, dependent names might be types or values. `typename` tells the compiler it’s a type.
277277
278278
- `std::array` vs `std::vector`? `std::array<T,N>` is fixed-size (size known at compile time) and stack-allocated while `std::vector<T>` is dynamic-size (runtime) and heap-allocated.
279279

0 commit comments

Comments
 (0)