Invalid matrix indexes, GitHub #211

I used the wrong order for the matrix indexes, fortunately in
the text, not the code!
This commit is contained in:
Roger Labbe 2018-04-25 14:50:54 -07:00
parent 5e6a503619
commit ec0cc50ee9

View File

@ -1771,7 +1771,7 @@
"\n",
"$$\\mathbf M = \\begin{bmatrix}.97 & .03\\\\.05 & .95\\end{bmatrix}$$\n",
"\n",
"In other words $\\mathbf M[i, j]$ is the probability of mode being $i$ given that the last mode was $j$. In this example the probability of the mode currently being straight $(i=0)$ given that the last mode was a turn $(j=1)$ is $\\mathbf M[0,1] = 0.05$. In Python we'd write:"
"In other words $\\mathbf M[i, j]$ is the probability of mode being $i$ given that the last mode was $j$. In this example the probability of the mode currently being straight $(i=0)$ given that the last mode was a turn $(j=1)$ is $\\mathbf M[1,\\ 0] = 0.05$. In Python we'd write:"
]
},
{