#11995: Length argument for PARI Vec()
---------------------------+------------------------------------------------
Reporter: jdemeyer | Owner: was
Type: enhancement | Status: needs_review
Priority: major | Milestone: sage-4.8
Component: interfaces | Keywords: PARI Vec Vecrev Vecsmall Col
Colrev
Work_issues: | Upstream: N/A
Reviewer: | Author: Jeroen Demeyer
Merged: | Dependencies: #11130, #11890
---------------------------+------------------------------------------------
Description changed by jdemeyer:
Old description:
> Upstream PARI has extended the `Vec()`, `Vecrev()`, `Vecsmall()`,
> `Col()` functions to allow an optional argument giving a minimum length.
> The PARI currently in Sage does not support this, but we can easily
> emulate it in the Sage library.
>
> Also, to minimize surprises, we should probably implement `Vecrev()` as
> is currently done in PARI, instead of having our own `Vecrev()`. For
> most Sage applications, `.list()` should be used anyway instead of
> `.Vecrev()`.
New description:
Upstream PARI has extended the `Vec()`, `Vecrev()`, `Vecsmall()`, `Col()`
functions to allow an optional argument giving a minimum length. The PARI
currently in Sage does not support this, but we can easily emulate it in
the Sage library.
Also, to minimize surprises, we should implement `Vecrev()` using the PARI
library function, instead of having our own `Vecrev()`. For most Sage
applications, `.list()` should be used anyway instead of `.Vecrev()`.
--
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11995#comment:8>
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.