What does the term "broadcasting" refer to in NumPy?
Correct answer
B. Simultaneous operation on arrays with different shapes
11 views
B. Simultaneous operation on arrays with different shapes
11 views
In NumPy, broadcasting is the rule that lets arrays of different shapes be used together in arithmetic: the smaller array is stretched (virtually) across the larger one so the operation can be performed element-wise.
Not sure why the answer is B? Ask here and get an explanation.