You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I didn't find any function called prod() in itertools, so I assume that itertools.prod() in the documentation (section "Multiplication") refers in reality to itertools.product().
Besides is "outer product" the correct name for this product? In itertools.product() docstring, the name "Cartesian product" is used and Wikipedia doesn't seem to give the exact same definition for the two products (see Cartesian vs outer).