This has already been discussed multiple times in this forum. See Indexing into Matrix for example and the linked post within.
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Indexing into Matrix | 7 | 5598 | August 31, 2020 | |
| Vector adjoint and indexing don't commute? | 19 | 1564 | September 5, 2020 | |
| Vector vs Column vector | 13 | 9744 | February 21, 2020 | |
| Transposes vs 1-row matrices | 3 | 440 | April 8, 2024 | |
| Confusing Results When Comparing Arrays in Julia | 5 | 206 | September 22, 2024 |