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
Since × means cross which means the cross product, I'm not sure it's good style to overload to also mean cartesianproduct. In particular, in my case I'm using AbstractVectors as domains and wanted to form the Cartesian product, and was surprised by the error.
The text was updated successfully, but these errors were encountered:
Hmm, unfortunately I frequently use this notation. But yes, x is tied to cross in Julia. Any alternative for cartesian products?
LazySets.jl also does it: here
It might be nice (but much more typing) to be able to say: [(x,y) for x in 0..1, y in 0..1].
Since × means
cross
which means the cross product, I'm not sure it's good style to overload to also meancartesianproduct
. In particular, in my case I'm usingAbstractVector
s as domains and wanted to form the Cartesian product, and was surprised by the error.The text was updated successfully, but these errors were encountered: