Comment #2 on issue 3323 by amake...@college.harvard.edu: perm_groups alt_or_sym failure
http://code.google.com/p/sympy/issues/detail?id=3323

Hi all,

it's my fault for writing a bad docstring. The other way I see to cope with this is the following: we add an attribute _is_alt_sym to the PermutationGroup class, which is initialized to None and is set to True if during a run of is_alt_sym we get True. Then, in alt_or_sym we remove the run of is_alt_sym() and instead check whether _is_alt_sym is True. The problem with this is that there is no reasonable way to write a docstring example for this. It seems that we can only do
A._is_alt_sym = True
A.alt_or_sym
'A'
which seems rather ugly. If you also think so, I'll go for what Aaron suggested.

--
You received this message because you are subscribed to the Google Groups 
"sympy-issues" group.
To post to this group, send email to sympy-issues@googlegroups.com.
To unsubscribe from this group, send email to 
sympy-issues+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sympy-issues?hl=en.

Reply via email to