Handbook
Glossary
arg-max ( seq -- n )
Vocabulary
sequences
.
extras
Inputs
seq
a
sequence
Outputs
n
an
integer
Word description
Outputs the index of the element with the largest value in
seq
.
See also
arg-min
Definition
USING:
kernel
;
IN:
sequences.extras
:
arg-max
( seq -- n )
[
]
maximum-by*
drop
;