-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Too short variable names #71
Comments
@vendramin even after your PR to fix the documentation for |
This is the standard terminology that appears in the literature. It is
indeed the set of fixed points of the action given by the map lambda. Did I
make a mistake?
…On Tue, Aug 2, 2022 at 7:24 AM Max Horn ***@***.***> wrote:
@vendramin <https://github.com/vendramin> even after your PR to fix the
documentation for Fix, it is not quite clear to me why it is called like
that?
—
Reply to this email directly, view it on GitHub
<#71 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACC7PG74FQFSG5TT4TKMY3DVXDZMLANCNFSM4LE4DVXQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
We can use a different name, but I don't think FixLeftIdeal is a better
choice. If Fix and YB are not Okay, what would you do? Maybe GAP has rules
for names like those...
On Tue, Aug 2, 2022 at 7:25 AM Leandro Vendramin ***@***.***>
wrote:
… This is the standard terminology that appears in the literature. It is
indeed the set of fixed points of the action given by the map lambda. Did I
make a mistake?
On Tue, Aug 2, 2022 at 7:24 AM Max Horn ***@***.***> wrote:
> @vendramin <https://github.com/vendramin> even after your PR to fix the
> documentation for Fix, it is not quite clear to me why it is called like
> that?
>
> —
> Reply to this email directly, view it on GitHub
> <#71 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/ACC7PG74FQFSG5TT4TKMY3DVXDZMLANCNFSM4LE4DVXQ>
> .
> You are receiving this because you were mentioned.Message ID:
> ***@***.***>
>
|
@vendramin GAP has some rules (or rather suggestions) indeed: https://docs.gap-system.org/doc/ref/chap76_mj.html#X7DEACD9786DE29F1. We need to think of some alternatives... |
@vendramin let's come back to this!
|
1. Fix should return a left ideal, as this is not an ideal in general. If you don’t like Fix as the function's name (for example, because it is dangerous), we can go with your suggestion.
2. If I am not wrong, this function belongs to a file that is just experimental. Is this inside tau.gi? We could remove the files tau.gi and tau.gd, I think.
3. If we need to change the name, again because it goes against the rules, we can use your suggesstion. Other possible names are YBFromPermutations and essentially every other variant. Feel free to use your experience and choose. I tend to use very short names for functions and I am even worse with variable names :)
… On 18 May 2023, at 15:00, Olexandr Konovalov ***@***.***> wrote:
@vendramin let's come back to this!
• Trying to understand what 'Fix' is actually returning. The manual says it returns an ideal, but it seems like returns a list. You said above that it's a set of of fixed points. Maybe FixedPointsOfSkewBrace?
• TGS is undocumented and defined here https://github.com/gap-packages/YangBaxter/blob/3958563edddb606b4a2c284c430fe3fb72e47558/data/TGsmall.g#L1
Seems to me a global variable to store some data - could be called YangBaxterTGS or something. Could be also made write protected.
• YB is undocumented and defined here https://github.com/gap-packages/YangBaxter/blob/3958563edddb606b4a2c284c430fe3fb72e47558/lib/ybe.gi#L4-L21
Maybe YBSolutionByPerms?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
|
So 1 should return a left ideal. We can remove these files, but I would like to keep them in another folder, just in case. Okay with 3.
|
|
For 1. One has a function to compute the left series and it returns a list of left ideals. The same behavior is expected when computed the fix, I think.
|
After loading, the following too short names starting with capitals are created:
This is not a very good practice, see https://www.gap-system.org/Manuals/doc/ref/chap76.html#X7DEACD9786DE29F1 - especially with such a trivial name like
Fix
.The text was updated successfully, but these errors were encountered: