Re: How to remove Head from expression
- To: mathgroup at smc.vnet.net
- Subject: [mg97807] Re: How to remove Head from expression
- From: ADL <alberto.dilullo at tiscali.it>
- Date: Sun, 22 Mar 2009 05:48:06 -0500 (EST)
- References: <gq2f0l$eem$1@smc.vnet.net>
You might use,
mainrules = {0 < k < 1, b > 0};
Reduce[{# < 0, Sequence @@ mainrules}] & /@ {x}
where Sequence eliminates the List header and "disappears".
You can find more about it in the help pages.
ADL
On 21 Mar, 11:20, dragec <culino... at gmail.com> wrote:
> Dear,
> I have
>
> Reduce[{# < 0, 0 < k < 1, b > 0}]& ....
>
> I would like to have:
> mainrules = {0 < k < 1, b > 0};
> Reduce[{# < 0, mainrules}]& ....
>
> What to apply on second argument of Reduce, to command work fine.
> In above example Head of mainrules is excess, and command not works.
>
> THX