#10604: Rewrite diagonal matrix constructor
------------------------------+---------------------------------------------
Reporter: rbeezer | Owner: jason, was
Type: defect | Status: needs_review
Priority: minor | Milestone: sage-4.6.2
Component: linear algebra | Keywords:
Author: | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
------------------------------+---------------------------------------------
Changes (by rbeezer):
* status: new => needs_review
Comment:
Patch contains an overhaul of the `diagonal_matrix()` constructor, fixing
at least one bug, and adding support for `NumPy` arrays as input. Two
observations:
1. Results are now sparse matrices by default. This is a change in
behavior, but causes no doctest failures anywhere in the Sage library.
2. Original doctests for this function will still pass. They are gone
now, but were the last thing to be deleted and were fully tested.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/10604#comment:3>
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.