cnuernber / dtype-next

A Clojure library designed to aid in the implementation of high performance algorithms and systems.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Doc typo

light-matters opened this issue · comments

Just highlighting a typo in the docs:

This can be used to crap an image or to do reorderings such as imagespace bga->rgb conversions.

EDIT:
https://cnuernber.github.io/dtype-next/cheatsheet.html

Sorry, I definitely 'copied' a link to the page, but apparently I just didn't paste it

Where did you find this?

* [select](https://cnuernber.github.io/dtype-next/tech.v3.tensor.html#var-select) - select a subrect of data. Dimension-indexes can be specified via the
keyword `:all`, a clojure range, or a convertible-to-long-reader object. This can be
used to crap an image or to do reorderings such as imagespace bga->rgb conversions.

Hilariously, such a function can be used (traditionally) to crop an image, but if you really need to crap an image, select may still be the function you're looking for.