Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2009

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

Search the Archive

Re: How to remove Head from expression

  • To: mathgroup at smc.vnet.net
  • Subject: [mg97817] Re: How to remove Head from expression
  • From: Raffy <raffy at mac.com>
  • Date: Sun, 22 Mar 2009 05:50:06 -0500 (EST)
  • References: <gq2f0l$eem$1@smc.vnet.net>

On Mar 21, 3:20 am, 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

Do you mean: mainrules = excess[ 0 < k < 1, b > 0 ] ?
If so, Reduce[{x < 0, Sequence@@mainrules}]&

Otherwise, if: mainrules = { 0 < k < 1, b > 0 }
Reduce[Prepend[mainrules, x < 0]]&



  • Prev by Date: Re: How to remove Head from expression
  • Next by Date: Re: Online Graphic Output
  • Previous by thread: Re: How to remove Head from expression
  • Next by thread: Re: How to remove Head from expression