@reduce(f:function, t:tab)
If t
is empty, an undefined value is returned.
If t
has only one element, this element is returned.
In the other case, the binary operation is used to combine all the
elements in t
into a single value
f(... f(f(t[0], t[1]), t[2]), ... t[n])
For example, if t
is a vector of booleans, @reduce(@||, t) returnsthe logical disjunction of the
t`’s elements.