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

Linear functionals on vector spaces and modules #30091

Open
mkoeppe opened this issue Jul 8, 2020 · 2 comments
Open

Linear functionals on vector spaces and modules #30091

mkoeppe opened this issue Jul 8, 2020 · 2 comments

Comments

@mkoeppe
Copy link
Contributor

mkoeppe commented Jul 8, 2020

We propose to add a method dual to modules M as an abbreviation for Hom(M, M.base_ring()).

For vector spaces, we create a specialized class so that it prints in a more concise way than this:

sage: Hom(QQ^2, QQ)
Set of Morphisms (Linear Transformations) from Vector space of dimension 2 over Rational Field to Rational Field

and has more functionality to make linear algebra less awkward.

sage: _.an_element()
NotImplementedError: please implement _an_element_ for Set of Morphisms (Linear Transformations) from Vector space of dimension 2 over Rational Field to Rational Field

FiniteRankFreeModule already has this functionality. The new interface should be compatible with it.

sage: Q3 = FiniteRankFreeModule(QQ, 3)
sage: Q3.dual()
Dual of the 3-dimensional vector space over the Rational Field
sage: l = Q3.linear_form(); l
Linear form on the 3-dimensional vector space over the Rational Field

Related (more general):

CC: @tscrim @simonbrandhorst @egourgoulhon

Component: categories

Issue created by migration from https://trac.sagemath.org/ticket/30091

@mkoeppe mkoeppe added this to the sage-9.2 milestone Jul 8, 2020
@mkoeppe

This comment has been minimized.

@mkoeppe mkoeppe modified the milestones: sage-9.2, sage-9.3 Aug 13, 2020
@mkoeppe
Copy link
Contributor Author

mkoeppe commented Feb 13, 2021

comment:3

Setting new milestone based on a cursory review of ticket status, priority, and last modification date.

@mkoeppe mkoeppe modified the milestones: sage-9.3, sage-9.4 Feb 13, 2021
@mkoeppe mkoeppe modified the milestones: sage-9.4, sage-9.5 Jul 19, 2021
@mkoeppe mkoeppe modified the milestones: sage-9.5, sage-9.6 Dec 14, 2021
@mkoeppe mkoeppe modified the milestones: sage-9.6, sage-9.7 Mar 5, 2022
@mkoeppe mkoeppe modified the milestones: sage-9.7, sage-9.8 Aug 31, 2022
@mkoeppe mkoeppe modified the milestones: sage-9.8, sage-9.9 Jan 7, 2023
@mkoeppe mkoeppe modified the milestones: sage-10.0, sage-10.1 Apr 30, 2023
@mkoeppe mkoeppe removed this from the sage-10.1 milestone Aug 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant