March 2003
Intermediate to advanced
656 pages
39h 30m
English
argmax, argmin
argmax(a,axis=-1) argmin(a,axis=-1)
argmax returns a new integer array
m whose shape tuple is
a
.shape minus the
indicated axis. Each element of
m is the index of a maximal element of
a along axis.
argmin is similar, but indicates minimal elements
rather than maximal ones.