MathGroup Archive 2006

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Problem with Thread over Plus?


Thread is expecting the list to be of equal length.
In the first case {1,1} is a list of length 2 and {{1,1},{2,2}} is also a
list of length 2.
Obviously in the second case {{1,1},{2,2},{3,3}} is a list of length 3 and
Thread generates an error message
yehuda

On 3/29/06, Virgilio, Vincent - SSD <Vincent.Virgilio at itt.com> wrote:
>
>
>
> Hello,
>
> Why does this work:
>
>         Thread[ Plus[ {1,1} , { {1,1} , {2,2} } ] ]
>
> but this doesn't?
>
>         Thread[ Plus[ {1,1} , { {1,1} , {2,2} , {3,3} } ] ]
>
> Thanks,
>
> Vince Virgilio
>
> ************************************
> This e-mail and any files transmitted with it are proprietary and intende
> d solely for the use of the individual or entity to whom they are address
> ed. If you have received this e-mail in error please notify the sender. P
> lease note that any views or opinions presented in this e-mail are solely
> those of the author and do not necessarily represent those of ITT Indust
> ries, Inc. The recipient should check this e-mail and any attachments for
> the presence of viruses. ITT Industries accepts no liability for any dam
> age caused by any virus transmitted by this e-mail.
> ************************************
>
>


  • Prev by Date: Re: Two independent y axes ?
  • Next by Date: Re: Problem with Thread over Plus?
  • Previous by thread: Re: Problem with Thread over Plus?
  • Next by thread: Re: Problem with Thread over Plus?