Karim Belabas on Mon, 08 Jul 2024 21:31:31 +0200
|
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
- To: Ilya Zakharevich <nospam-abuse@ilyaz.org>
- Subject: Re: vecsort() shortdocs
- From: Karim Belabas <Karim.Belabas@math.u-bordeaux.fr>
- Date: Mon, 8 Jul 2024 21:31:26 +0200
- Arc-authentication-results: i=1; smail; arc=none
- Arc-message-signature: i=1; a=rsa-sha256; d=math.u-bordeaux.fr; s=openarc; t=1720467088; c=relaxed/relaxed; bh=HPgPQIXEir0+B7L2NGdIGJ+a4oIRrzu3m2qAVHMV8FY=; h=DKIM-Signature:Date:From:To:Cc:Subject:Message-ID: Mail-Followup-To:References:MIME-Version:Content-Type: Content-Disposition:Content-Transfer-Encoding:In-Reply-To; b=o4zBflG3ZOQljN05dRWQk9e7YEPTPhZMiTqUkAAe1a9qZ3rd9uejq75DEwqzLsF/ZPglH17aX1z4w1jEi5hMsFUUI1d5vgMi6hSX/NRpxshWiZBHzUSrBocnt6yOR2CmKZAHQXEs8wiPpwAEcLr8Zc2qDUyxNN8S0HQbHBAze86Pj4vMd+sQ0u2lp29M8PCQDth1wfn+sukPWgy7I18AGzE1pDCEjXS6sHSexKc3TiGlXn5VdSM0APyoPWDTJsgEwlBCf6a3aly3nmbV7Qc/SIDOwMCAkdmHOSl26wD6Ycgwfn/IkfbPPAs/YxFSfWxRhzTnumfUrNBYrPUgdqz0KTPNmryMHx74DwzZtwhH7sdtDR/jXKk1fonqG7bnMmVJhxb7XJ2z5ysBC8tfN+ORZmGv5bg8XT130hN8rUjymES7m0PnlEuockVZrqF0zKfGVXW9WXFBFmonmo1e1vgPme1/k8aD7mjzNRSWyf8Zojw8mOv2S6zG07W4jM/BgdY7g1E/mU+Ked2wqTc5G5qOuXDf9cP+HwXOmqX9xSALZ7Xx4Au8lFtPcMO8Zbxj4cqXIm9/tKvnCgU80CL0vTwiIx8B7A5XcIka8BRbQtViAr5FyrQwkVm0nl6Kh/BUlHpFbv5wFnM42LBuD4GlPnFbXzcNdOkSuZQcRGzEBQkVX70=
- Arc-seal: i=1; a=rsa-sha256; d=math.u-bordeaux.fr; s=openarc; t=1720467088; cv=none; b=LTIGNXua4BS782IGhIDlQMHnWBSPQfQyjq8VcBpmb/d35RJBunEY1WCx+V7cAAxszYLG1+tUkyGM+C9qeGs5DUMiujSbyGt7560ebNopfM6ReZF20QGJ2uNPv0s7+DSK0bXYNQoxC8vpD4o4+O7kTjSaMAWsVmlLgvjiOw/gU1KRoxBp4vMrkqKFtNzmtNnMECY6p5MJruadHy9Kj7oeRrAahAbrKt9OecVLWzJH1okBIS9rifZ2FxGh0NwrA9m2Go2dExOfWth00d5iwK9Rqzh9XDVUfGBozhcUXAU32sYhfRPqYEhOxkcOFbWDhCuyPMBYivuKYtjYSH+Y3UMLvh8946eHQKYPfO+g6bfu9ahqZ62G020Ddbqqq0Qk69UGzZLykBhGU334xBp08sbq5UUC1Nwn7NwlMfsjZLk10HotWTDgM+6HNGI/SBKc6aUdBBKaZ7Lzt+76sw4PjJFqmcpvBP64rJLiHczCKw5Gove8SNUt0eJQGnO8jUVAVqavCydg0j/c6O4K9HSR1GdyP5InuW+sDj22jP7JoWO/gg/VROtLcTw0qUxhKh9knECmOr+kjUUp8EI+oZxoIP4eHMAKx85kQp+DffPn1wnVXjAMhU+yHhf6FdCNfM1SHiWkSomdSslqBgY5za+Ija1mHAcRQ4lAtVpMLrLCekVPGpQ=
- Authentication-results: smail; dmarc=none header.from=math.u-bordeaux.fr
- Authentication-results: smail; arc=none
- Cc: Pari Developers Mailing List <pari-dev@pari.math.u-bordeaux.fr>
- Delivery-date: Mon, 08 Jul 2024 21:31:31 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=math.u-bordeaux.fr; s=2022; t=1720467087; bh=HPgPQIXEir0+B7L2NGdIGJ+a4oIRrzu3m2qAVHMV8FY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=FzVllZSzsbuEg/VLtgf2qUUPY/NpQw4rxqnqgpcAvatugdBXvhxLyOw5yO60c6ggR pbrF18tJKsRzagH6hlzZmKs3kNuViAP4s0luOYPB/6KuTWbJ7TmP0m0NgfQUrAAmlM TrNyIL1qzDTqRnGE7tHx7731gs9ueuhui6aejN3SMZg1/Ee1JY3O71WE/uDVnciY2S Q2A7isz7S5Ftm6/L9mq4VtP95EzyLdtbsUUYLw2wYzVmFQtVNI6iEzQ4KjSDrreoRT AWljt7ZLFjzwhaqy+1bI2nXsBUVQWHUwtUXeF+hwK+SGVLdsoVEicqyluWLvaAFtZS gq4bc/yi8/5QRitS3qdhmTWKDqYLOciXT+FiVRUQFoyQ85jSADGLGht9HmjeqVfJNl UVNMrA8YS01kJYcfJwDluxHsw9tI1f52tGlMfMT0pzXSZG6/bLF23x5v8OuA1tSljA 1XVm6tC5c90CJufv5MI1DoFAqBpafuNCsQhTJsgtCvFQWUSZY5BFPwNXbsbNZDuQp6 /ZbGU7uLqKKX1d50aYeqgEI5GmIp5vbbS7rOfiIkrjCnnGNmKpgc4tHCRpDvJLC2Ek WSzdnyE/X3Ky27ERSooLVqKuQ62NVBCmVAwiayyMc4wHLLDYs1couA7oYxVLqIZnBM GgxbpM7BSGGmlks6YrGiYtB4=
- In-reply-to: <Zow6vsxGiOTBrYeh@debian.attlocal.net>
- Mail-followup-to: Ilya Zakharevich <nospam-abuse@ilyaz.org>, Pari Developers Mailing List <pari-dev@pari.math.u-bordeaux.fr>
- References: <Zow6vsxGiOTBrYeh@debian.attlocal.net>
Hi Ilya,
* Ilya Zakharevich [2024-07-08 21:15]:
> [I vaguely remember reporting this already a few years ago.]
>
> On 2.15.5, pressing F1 on vecsort() says:
>
> vecsort(x,{cmpf},{flag=0}): sorts the vector of vectors (or matrix)
> x in ascending order
>
> — but vecsort() operates happily on vectors of numbers as well.
the short doc for vecsort was rewritten some time ago, probably
following your report. In (soon-to-be-released) 'master' it reads:
vecsort(x,{cmpf},{flag=0}): sorts the vector x in ascending order, according
to the comparison function cmpf, if not omitted. Binary digits of flag (if
present) mean: 1: indirect sorting, return the permutation instead of the
permuted vector, 4: use descending instead of ascending order, 8: remove
duplicate entries.
Cheers,
K.B.
--
Pr. Karim Belabas, U. Bordeaux, Vice-président en charge du Numérique
Institut de Mathématiques de Bordeaux UMR 5251 - (+33) 05 40 00 29 77
http://www.math.u-bordeaux.fr/~kbelabas/