MatchingBackend.where#

abstract MatchingBackend.where(*args)[source]#

Return elements from input depending on condition.

Parameters:
conditionBackendArray

Binary condition array.

*argsBackendArray

Values to choose from.

Returns:
BackendArray

Array of elements according to condition.