Replace elements of an array based on an conditional array.  
More...
Replace elements of an array based on an conditional array. 
- Input values are retained when corresponding elements from condition array are true.
- Input values are replaced when corresponding elements from condition array are false.
§ af_replace()
- Parameters
- 
  
    | [in,out] | a | is the input array |  | [in] | cond | is the conditional array. |  | [in] | b | is the replacement array. |  
 
- Note
- Values of aare replaced with corresponding values ofb, whencondis false.
 
 
§ af_replace_scalar()
- Parameters
- 
  
    | [in,out] | a | is the input array |  | [in] | cond | is the conditional array. |  | [in] | b | is the replacement array. |  
 
- Note
- Values of aare replaced with corresponding values ofb, whencondis false.
 
 
§ replace() [1/2]
- Parameters
- 
  
    | [in,out] | a | is the input array |  | [in] | cond | is the conditional array. |  | [in] | b | is the replacement array. |  
 
- Note
- Values of aare replaced with corresponding values ofb, whencondis false.
 
 
§ replace() [2/2]
- Parameters
- 
  
    | [in,out] | a | is the input array |  | [in] | cond | is the conditional array. |  | [in] | b | is the replacement value. |  
 
- Note
- Values of aare replaced with corresponding values ofb, whencondis false.