Given an index k and a matrix mat, compute the coordinate pair (x,y) at which k is found in mat.
Integer pair (x,y)
1 2 3 4 5 6 7
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.