Karim BELABAS on Thu, 31 Jul 2003 12:09:49 +0200 (MEST)


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: matrix->vector


On Thu, 31 Jul 2003, Jon Perry wrote:
> I have a matrix:
>
> x=matrix(3,3);
>
> with uneven entries.
>
> y=Vec(x)
>
> gives me a multi-dimensional vector. Can I make this into a single
> dimensional vector?

 concat( Vec(x) )

    Karim.
-- 
Karim Belabas                     Tel: (+33) (0)1 69 15 57 48
Dép. de Mathématiques, Bât. 425   Fax: (+33) (0)1 69 15 60 19
Université Paris-Sud              http://www.math.u-psud.fr/~belabas/
F-91405 Orsay (France)            http://www.parigp-home.de/  [PARI/GP]