Re: Bizarre semantic of Mat

Ilya Zakharevich <[email protected]> Wed, 17 Jan 2024 23:21:42 -0800
Newsgroups gmane.comp.mathematics.pari.devel
Message-ID <[email protected]>
On Wed, Jan 17, 2024 at 07:50:56AM +0100, Joerg Arndt wrote:
> > Is there a simple way to convert a vector-column into a 1 column
> > matrix (without using matrix())?  Mat() is almost there — except for
> > bizarre special-cases — which are impossible to switch off!

> ? v=[1,2,3,4];
> ? matrix(#v,1,r,c,v[r])

Does not “using matrix()” defeat the purpose of “not using matrix()”?  ;―]

Ilya