#16577: Make matrix.permute_rows and friends accept permutations of 0..n-1 now
that
we have them + misc improvements
-------------------------------------+-------------------------------------
Reporter: nthiery | Owner:
Type: enhancement | Status: needs_review
Priority: major | Milestone: sage-6.4
Component: linear algebra | Resolution:
Keywords: | Merged in:
Authors: Nicolas M. ThiƩry | Reviewers: Karl-Dieter Crisman
Report Upstream: N/A | Work issues:
Branch: | Commit:
u/nthiery/make_matrix_permute_rows_and_friends_accept_permutations_of_0__n_1_now_that_we_have_them___misc_improvements|
4feab74aeb7062cda79906523f250eebd859c519
Dependencies: | Stopgaps:
-------------------------------------+-------------------------------------
Comment (by nthiery):
Replying to [comment:11 kcrisman]:
> I should almost make you wait longer just for the length of your branch
name!
:-)
Most of the name was built by git trac from the summary; I'd been too lazy
to type this in myself :-)
> You need to change `\hdots` to `\ldots` for it to work properly in the
documentation. Otherwise this is fine.
Done.
> Of course, there is the meta-question of whether one should really
> change this behavior. Have you talked to anyone else about that?
> It is indeed backward-compatible but still one might ask whether
> matrix rows are numbered at 0 or 1... though with Python probably
> the previous behavior was more wrong than the current one...
Sage matrices/vectors/... (under the influence of Python) are
unambiguously indexed by 0..n-1, aren't they? After all that's the
convention used systematically in all other methods (row, set_row,
col, __getitem__, ...).
In this sense, permute_rows and friends were the exceptions. That's
why I did not bother yet advertising this ticket specifically (beside
you, Anne, and whoever is following it). We could make a call on
sage-devel if you think this is really needed.
Cheers,
Nicolas
--
Ticket URL: <http://trac.sagemath.org/ticket/16577#comment:14>
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 unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.