Handbook
Glossary
check-shape ( shaped-array shaped-array -- shaped-array shaped-array )
Vocabulary
arrays
.
shaped
Inputs
shaped-array
an
object
shaped-array
an
object
Outputs
shaped-array
an
object
shaped-array
an
object
Definition
USING:
accessors
kernel
sequences
;
IN:
arrays.shaped
:
check-shape
( shaped-array shaped-array -- shaped-array shaped-array )
[
>shaped-array
]
bi@
2dup
[
shape>>
]
bi@
sequence=
[
shape-mismatch
]
unless
;