reduction-coordinate ( coordinate axes keepdims? -- result )


Vocabulary
arrays.shaped.private

Inputs
coordinatean object
axesan object
keepdims?an object


Outputs
resultan object


Definition


:: reduction-coordinate
( coordinate axes keepdims? -- result )
coordinate [| index axis |
axis axes member?
[ keepdims? [ { 0 } ] [ { } ] if ] [ index 1array ] if
] map-index concat ;