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 is a website building & hosting documentation for Clojure/Script libraries

× close