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
Also cls seems really awkward. When was it introduced? It seems like if someone wants a certain class, they should do something like TargetClass.jordon_block(size, eigenvalue) instead of passing in TargetClass to the cls kwarg.
(And I agree about the cls option. I'm not sure what merit there is in passing this rather than using it as the calling class -- either way you have to type it.)
There were some discussions about the keyword argument, and I also think that the keyword would not be any useful at all.
The text was updated successfully, but these errors were encountered:
I agree. The cls argument (the first argument of the classmethod) should be the class that is used. That way follows standard Python inheritance patterns.
sympy/sympy/matrices/common.py
Lines 654 to 903 in 9cb8736
From #16102
There were some discussions about the keyword argument, and I also think that the keyword would not be any useful at all.
The text was updated successfully, but these errors were encountered: