Rotate 2D matrix clockwise in 90 degree steps.
1 |
mtx |
a 2D matrix |
times |
integer, how often to rotate in 90 degree steps. Example: pass '3L' to rotate '270' degrees. |
clockwise |
logical, whether to rotate clockwise. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.