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
Additions to the ones matrix constructor #10189
Comments
comment:2
Like the concept, don't like the |
Reviewer: Karl-Dieter Crisman |
Author: Rob Beezer |
comment:3
Replying to @kcrisman:
Thanks, KDC. Was just too sloppy and forgot the bullets. Tried to work on this and discovered a I do have an INPUT block in my documentation, even if it needs work. ;-) Should I steal from my work here and slightly improve the already-merged version? I've cc'ed the folks on the previous ticket. Rob |
comment:4
Replying to @rbeezer:
Might as well do the same thing for the I see no reason why this ticket shouldn't be renamed to reflect this new purpose... |
This comment has been minimized.
This comment has been minimized.
comment:5
Attachment: trac_10189-all-ones-additions-v1.patch.gz |
comment:6
Apply trac_10189-all-ones-additions-v1.patch |
Changed reviewer from Karl-Dieter Crisman to Karl-Dieter Crisman, Robert Miller |
Merged: sage-4.6.2.alpha0 |
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,Significant additions to the documentation.
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 foridentity_matrix
. Requires one new error-check.Isn't it better to coerce a generic 1 into the ring and then use that to populate the matrix? I've done that.
CC: @jasongrout @rlmill @sagetrac-flawrence
Component: linear algebra
Author: Rob Beezer
Reviewer: Karl-Dieter Crisman, Robert Miller
Merged: sage-4.6.2.alpha0
Issue created by migration from https://trac.sagemath.org/ticket/10189
The text was updated successfully, but these errors were encountered: