Handbook
Glossary
shaped- ( a b -- c )
Vocabulary
arrays
.
shaped
Inputs
a
a
shaped-array
, a
sequence
, or a
number
b
a
shaped-array
, a
sequence
, or a
number
Outputs
c
a
shaped-array
Word description
Subtracts b from a elementwise using the broadcasting and storage rules of shaped+.
Definition
USING:
arrays.shaped.private
math
;
IN:
arrays.shaped
:
shaped-
( a b -- c )
[
-
]
broadcast-binary-op
;