Select values from a list of choices based on a list of conditions.
At each position, the output takes the value of the choice corresponding to
the first true condition. Where no condition is true, defaultValue is
used. Conditions are converted to boolean arrays, and all entries must be
mutually broadcast-compatible.
Select values from a list of choices based on a list of conditions.
At each position, the output takes the value of the choice corresponding to the first true condition. Where no condition is true,
defaultValueis used. Conditions are converted to boolean arrays, and all entries must be mutually broadcast-compatible.