Karim Belabas on Thu, 11 Oct 2007 23:06:51 +0200


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

Re: How to use forvec ?


* Olivier Ramare [2007-10-11 22:45]:
> Dear all,
>
>  Can you tell me why
>
> forvec(toto=[[0,0],[1,1]],print(toto),0)

first component goes from 0 to 0, second from 1 to 1.
>
> prints only
>
> [0, 1]

Looks kosher to me. You meant

  forvec(toto=[[0,1],[0,1]],print(toto),0)


Cheers,

    K.B.
--
Karim Belabas                  Tel: (+33) (0)5 40 00 26 17
Universite Bordeaux 1          Fax: (+33) (0)5 40 00 69 50
351, cours de la Liberation    http://www.math.u-bordeaux.fr/~belabas/
F-33405 Talence (France)       http://pari.math.u-bordeaux.fr/  [PARI/GP]
`