Handbook
Glossary
get-shaped-row-major ( seq shaped -- elt )
Vocabulary
arrays
.
shaped
Inputs
seq
an
object
shaped
an
object
Outputs
elt
an
object
Definition
USING:
accessors
kernel
sequences
;
IN:
arrays.shaped
:
get-shaped-row-major
( seq shaped -- elt )
shaped-bounds-check
[
shape
calculate-row-major-index
]
[
underlying>>
]
bi
nth
;