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

MathGroup Archive 2012

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

Search the Archive

Is there way to use something like Assuming with the function SIgn?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg128744] Is there way to use something like Assuming with the function SIgn?
  • From: Eduardo Mendes <emammendes at hotmail.com>
  • Date: Fri, 23 Nov 2012 03:25:33 -0500 (EST)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com
  • Delivered-to: l-mathgroup@wolfram.com
  • Delivered-to: mathgroup-newout@smc.vnet.net
  • Delivered-to: mathgroup-newsend@smc.vnet.net

Hello

I was wondering there is something similar to what can be done with Integrate, Reduce and Limit.  Something like

list={1,-2,a,3}

Assuming[a<0,Sign[list]]

Mathematica returns {1,-1,Sign[a],1} and I would like to see something like {1,-1,-1,1}.   Can that be done?

Many thanks

Ed




  • Prev by Date: Re: question about NIntegrate
  • Next by Date: Plots combining
  • Previous by thread: Re: Novice problem in mathematica syntax : Function of a function
  • Next by thread: Re: Is there way to use something like Assuming with the