#10189: Additions to the ones matrix constructor
-----------------------------------+----------------------------------------
Reporter: rbeezer | Owner: jason, was
Type: enhancement | Status: needs_review
Priority: minor | Milestone: sage-4.6.1
Component: linear algebra | Keywords:
Author: Rob Beezer | Upstream: N/A
Reviewer: Karl-Dieter Crisman | Merged:
Work_issues: |
-----------------------------------+----------------------------------------
Changes (by rbeezer):
* status: needs_work => needs_review
Old description:
> Patch adds a routine to create a matrix with every entry equal to one.
New description:
This ticket began with building an all-ones matrix constructor, as
contained on the first patch. But that was already happening over on
#9685.
New title, new decription, new patch are about adding onto the
`ones_matrix` constructor. Specifically,
1. Significant additions to the documentation.
2. Setting {{{nrows=None}}} in the function definition allows for a call
with just a single integer entry, producing a square matrix over the
integers, similar to the behavior for `identity_matrix`. Requires one new
error-check.
3. Isn't it better to coerce a generic 1 into the ring and then use that
to populate the matrix? I've done that.
--
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/10189#comment:5>
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.