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
Right now, Sets has a method CartesianProduct (not to be confused with cartesian_product). The documentation says that this is the class for implementing cartesian_product. Does this belong as a method in the global namespace for sets? I can't think why the user would want this method to come up, when all it says is to use cartesian_product instead.
For instance:
S = Set([1,2])
S.CartesianProduct(S)
Traceback (click to the left of this block for traceback)
...
TypeError: __init__() takes at least 3 arguments (2 given)
Right now, Sets has a method CartesianProduct (not to be confused with cartesian_product). The documentation says that this is the class for implementing cartesian_product. Does this belong as a method in the global namespace for sets? I can't think why the user would want this method to come up, when all it says is to use cartesian_product instead.
For instance:
Component: algebra
Keywords: Cartesian Product for sets
Author: Chris Berg
Issue created by migration from https://trac.sagemath.org/ticket/13435
The text was updated successfully, but these errors were encountered: