Re: How to remove Head from expression
- To: mathgroup at smc.vnet.net
- Subject: [mg97800] Re: How to remove Head from expression
- From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
- Date: Sun, 22 Mar 2009 05:46:45 -0500 (EST)
- References: <gq2f0l$eem$1@smc.vnet.net>
Hi,
a) your examples are incomplete syntax and I can only guess what
it may mean
b) Sequence[] is your friend
Reduce[{# < 0,Sequence@@ mainrules}]&
Regards
Jens
dragec 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
>