Skip to content

Commit

Permalink
Update Cheatsheet.md
Browse files Browse the repository at this point in the history
  • Loading branch information
fszewczyk authored Nov 9, 2023
1 parent 5f83c13 commit a6e6b1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/tutorials/Cheatsheet.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Here are all the available operations using `Vector`:

```{.cpp}
auto a = Vector<float>::of(1, 2, 3);
auto b = Vector<float>::of({2, 3, 4}); // a[i] == b[i];
auto b = Vector<float>::of({2, 3, 4});
a.size() // 3
a.dot(b) // 1 * 2 + 2 * 3 + 3 * 4 = 20
Expand Down

0 comments on commit a6e6b1a

Please sign in to comment.