[src] Function arrayfire::select  
pub fn select<T>(a: &Array<T>, cond: &Array<bool>, b: &Array<T>) -> Array<T> where
T: HasAfEnum,
Element wise conditional operator for Arrays
This function does the C-equivalent of the following statement, except that the operation happens on a GPU for all elements simultaneously.
c = cond ? a : b; /// where cond, a & b are all objects of type Array
Parameters
- ais the Array whose element will be assigned to output if corresponding element in- condArray is- True
- condis the Array with boolean values
- bis the Array whose element will be assigned to output if corresponding element in- condArray is- False
Return Values
An Array