Description Usage Arguments Value
Rotate a 2D matrix in 90 degree steps.
1 | rotate2D(slice, degrees = 90)
|
slice |
a 2D matrix |
degrees |
integer, must be a (positive or negative) multiple of 90 |
2D matrix, the rotated matrix
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.