#18310: Finite dimensional modules with basis: improved conversions to vectors
and
matrices
-------------------------------------+-------------------------------------
Reporter: nthiery | Owner:
Type: enhancement | Status: needs_work
Priority: major | Milestone: sage-6.7
Component: linear algebra | Resolution:
Keywords: | Merged in:
Authors: Nicolas M. ThiƩry | Reviewers: Travis Scrimshaw
Report Upstream: N/A | Work issues:
Branch: | Commit:
public/categories/fin_dim_modules_with_basis_vector_matrix-18310|
035418cccaab72f73565c50d3e5b6391d294a467
Dependencies: | Stopgaps:
-------------------------------------+-------------------------------------
Comment (by jdemeyer):
Replying to [comment:11 jdemeyer]:
> And finally a question: is this new code relevant only for combinatorial
free modules or also "normal" free modules?
Answering my own question: for normal free modules, it seems that
`matrix()` just returns `basis_matrix()`. That's an annoying
inconsistency. I actually see no reason to have this `matrix()` alias for
`basis_matrix()`.
Proposal: define `matrix(*args, **kwds)` in free modules which calls
`basis_matrix()` if no arguments are given (this should be deprecated) and
calls the modified(*) categories implementation if any argument is
supplied.
(*) The `base_ring` of the resulting matrix should be the
`coordinate_ring`, not the `base_ring` of the free module.
--
Ticket URL: <http://trac.sagemath.org/ticket/18310#comment:13>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.