Menu

& is the elementwise operation. But && is the bitwise operation. It’s just easier to see the differences through examples.

But if we use &&,

The result from the first observation will be applied to the subsequent observations.