MathGroup Archive 2009

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

Search the Archive

Re: How to remove Head from expression


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



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