Skip to content
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

Closed
rbeezer mannequin opened this issue Oct 29, 2010 · 10 comments
Closed

Additions to the ones matrix constructor #10189

rbeezer mannequin opened this issue Oct 29, 2010 · 10 comments

Comments

@rbeezer
Copy link
Mannequin

rbeezer mannequin commented Oct 29, 2010

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.

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

@rbeezer rbeezer mannequin added this to the sage-4.6.1 milestone Oct 29, 2010
@rbeezer rbeezer mannequin assigned jasongrout and williamstein Oct 29, 2010
@rbeezer rbeezer mannequin added the s: needs review label Dec 2, 2010
@kcrisman
Copy link
Member

kcrisman commented Dec 2, 2010

comment:2

Like the concept, don't like the INPUT block. Can you make it look more like the other ones, say in plotting - with bullet points and entry type and defaults, that is? At least, I think the current one won't look that nice.

@kcrisman
Copy link
Member

kcrisman commented Dec 2, 2010

Reviewer: Karl-Dieter Crisman

@kcrisman
Copy link
Member

kcrisman commented Dec 2, 2010

Author: Rob Beezer

@rbeezer
Copy link
Mannequin Author

rbeezer mannequin commented Dec 2, 2010

comment:3

Replying to @kcrisman:

Like the concept, don't like the INPUT block. Can you make it look more like the other ones, say in plotting - with bullet points and entry type and defaults, that is? At least, I think the current one won't look that nice.

Thanks, KDC. Was just too sloppy and forgot the bullets.

Tried to work on this and discovered a ones_matrix constructor was merged into 4.6.1.alpha1 at #9685! Guess I was not paying attention as well, since it was over in "user interface." Looks like Robert Miller did like I did and cribbed from the zero_matrix constructor, so I think there is not much difference between his and mine.

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

@rlmill
Copy link
Mannequin

rlmill mannequin commented Dec 2, 2010

comment:4

Replying to @rbeezer:

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.

Might as well do the same thing for the zero_matrix et al. as well.

I see no reason why this ticket shouldn't be renamed to reflect this new purpose...

@rbeezer

This comment has been minimized.

@rbeezer
Copy link
Mannequin Author

rbeezer mannequin commented Dec 4, 2010

comment:5

Attachment: trac_10189-all-ones-additions-v1.patch.gz

@rbeezer rbeezer mannequin added s: needs review and removed s: needs work labels Dec 4, 2010
@rbeezer rbeezer mannequin changed the title Add the all-ones matrix constructor Additions to the ones matrix constructor Dec 4, 2010
@jasongrout
Copy link
Member

comment:6

Apply trac_10189-all-ones-additions-v1.patch

@rlmill
Copy link
Mannequin

rlmill mannequin commented Dec 5, 2010

Changed reviewer from Karl-Dieter Crisman to Karl-Dieter Crisman, Robert Miller

@rlmill rlmill mannequin added s: positive review and removed s: needs review labels Dec 5, 2010
@jdemeyer jdemeyer modified the milestones: sage-4.6.1, sage-4.6.2 Dec 5, 2010
@jdemeyer
Copy link

Merged: sage-4.6.2.alpha0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants