Re: #matr~ vs ##matr
Ilya Zakharevich <[email protected]>
| Newsgroups | gmane.comp.mathematics.pari.devel |
|---|---|
| Message-ID | <[email protected]> |
On Fri, Feb 05, 2021 at 03:10:05PM +0100, Bill Allombert wrote: > > Is #matr~ optimized by the compiler? > > No, but you can do either #mat[,1] or matsize(mat)[1] Well, it was discussed here already: the former is not equivalent to #matr~. They differ if #mattr=0. Thisi is ONE of the reasons why I think ## and ### may be quite useful. Ilya