Liking cljdoc? Tell your friends :D

Transforms

There are a number of functions to transform grids:

  • transpose: transpose the grid (swapping x and y indices)
  • rotate-left: rotate the grid 90 degrees anti-clockwise
  • rotate-right: rotate the grid 90 degrees clockwise
  • rotate-180: rotate the grid 180 degrees
  • flip-lr: flip the grid left-to-right (reversing the x-axis)
  • flip-tb: flip the grid top-to-bottom (reversing the y-axis)

Can you improve this documentation?Edit on GitHub

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close