Skip to content

all

builtin · libnexusinterp/corefcn/data-proprietary.cc

: tf = all (a)
: tf = all (a, dim)
: tf = all (a, vecdim)
: tf = all (a, "all")

Return true where every element along the chosen dimension is nonzero. NaN counts as nonzero. By default the first non-singleton dimension is used; all ([]) is true.