Skip to content
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

docu modules continued #904

Merged
merged 3 commits into from
Dec 17, 2021
Merged

docu modules continued #904

merged 3 commits into from
Dec 17, 2021

Conversation

wdecker
Copy link
Collaborator

@wdecker wdecker commented Dec 16, 2021

No description provided.

@@ -3802,7 +3941,7 @@ end

@doc Markdown.doc"""
simplify(M::SubQuo)

r
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
r

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done with dca3e6b


Return elements of the ambient free module of `M` which represent the generators of `M`.
"""
ambient_representatives_generators(M::SubQuo) = gens(M, ambient_free_module(M))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Huh, I wasn't aware that gens can take two arguments?! What does that mean? OK, I just looked it up in the documentation:

gens(F::SubQuo, G::FreeMod)

Return the generators of F as elements of G where G is the embedding free module.

That doesn't sound very natural to me in a variant of gens. In particular, i think the only allowed way to call this gens is in exactly the way ambient_representatives_generators` does, yes?

So perhaps this gens should be removed. And perhaps instead there should be a lift method, so that lift(x) for x an element of a SubQuo returns the corresponding element in the ambient space?

@fieker @thofma thoughts?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Our idea on our todo list was the following: as soon as this is merged, @AlexD97 will replace gens(F::SubQuo, G::FreeMod) throughout by ambient_representatives_generators(M::SubQuo). I agree that this term is rather long ...

@fingolfin fingolfin enabled auto-merge (squash) December 17, 2021 22:15
@fingolfin fingolfin merged commit 7dbadac into master Dec 17, 2021
@fingolfin fingolfin deleted the Wolfram branch December 17, 2021 22:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants