The functioning of all() and any() is same.

Answer: b
Explanation: The all() function returns a 1 iff all the elements in the input vector is non-zero. The any() function returns a 1 iff at least 1 element in the input vector is non-zero. Hence, they are different in functioning.
 

Tìm kiếm

Back
Top