#13012: MatrixSpace is too eager to construct zero matrices
--------------------------------------+-------------------------------------
Reporter: novoselt | Owner: jason, was
Type: defect | Status: needs_review
Priority: major | Milestone: sage-5.1
Component: linear algebra | Resolution:
Keywords: sd40.5 | Work issues: doctests
Report Upstream: N/A | Reviewers:
Authors: Andrey Novoseltsev | Merged in:
Dependencies: | Stopgaps:
--------------------------------------+-------------------------------------
Changes (by novoselt):
* status: needs_work => needs_review
Comment:
Summary of what was done:
* `MatrixSpace.__call__` just calls `MatrixSpace.matrix`, so that the
logic is the same for both ways.
* `row` keyword is deprecated and no guessing for `row=False` is done -
this was used only in `matrix_space` for demonstration, so it is unlikely
that users use it either.
* Matrices are now constructed either from a list of entries or from a
list of rows, there are special methods for stacking/augmenting matrices.
Two files had to be adjusted:
* `linear_code` had code which was very strange, I have rewritten it.
* `matrix_morphism` exploited undocumented functionality - I have removed
it and fixed the test.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/13012#comment:4>
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.