Bill Allombert on Thu, 11 Oct 2007 23:09:43 +0200


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

Re: How to use forvec ?


On Thu, Oct 11, 2007 at 10:07:24PM +0200, Olivier Ramare wrote:
> Dear all,
> 
>  Can you tell me why
> 
> forvec(toto=[[0,0],[1,1]],print(toto),0)
> 
> prints only
> 
> [0, 1]

You are asking for all [a,b] with 0<=a<=0 and 1<=b<=1 and there is
only one. 

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

Cheers,
Bill.