Re: [Q] How to get rid of {} in lists?
- To: mathgroup@smc.vnet.net
- Subject: [mg10764] Re: [mg10710] [Q] How to get rid of {} in lists?
- From: jpk@max.mpae.gwdg.de
- Date: Thu, 5 Feb 1998 00:58:15 -0500
> From rossiale@cisco-ags.unive.it Fri Jan 30 13:40:16 1998
> Date: Fri, 30 Jan 1998 04:24:45 -0500
> From: rossiale@cisco-ags.unive.it (Alessandro Rossi)
To: mathgroup@smc.vnet.net
> To: mathgroup@smc.vnet.net
> Subject: [mg10764] [mg10710] [Q] How to get rid of {} in lists?
>
> Hi all: that's my problem...it seems to me very easy but I caan get out
> of it with a solution:
>
> I'd like to put the ordered elements of a list as parameters in a
> function...
>
> e.g.
>
> list={True, False};
> And[list] is not And[True, False]... how can I get rid of {} in order to
> perform the calculation???
>
> thanks in advance
>
> Alessandro
>
Hi,
You must use Apply[And,{True,False}] or And @@ list
Hope that helps
Jens