MathGroup Archive 2006

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

Search the Archive

How to get rid of If[ ... ] in a result

  • To: mathgroup at smc.vnet.net
  • Subject: [mg65149] How to get rid of If[ ... ] in a result
  • From: "hanspi" <hanspi at schmid-werren.ch>
  • Date: Wed, 15 Mar 2006 23:59:23 -0500 (EST)
  • Sender: owner-wri-mathgroup at wolfram.com

Dear Mathematica users,

I often get results like the following when I do symbolic sums, in this
case of a Sin[ ... ]:

... ... ... If[2/T Element Integers, x, y] ... ...

Now I know that 2/T is an Integer. How can I tell Mathematica that this
is so, such that it removes the 'If'? It seems that Assumptions don't
work for sums.

Kind regards,
Hanspeter


  • Prev by Date: Unevaluated a[[1]]*a[[2]]
  • Next by Date: Re: a[[0]] equivalent to a[[-1]] and so forth
  • Previous by thread: Re: Unevaluated a[[1]]*a[[2]]
  • Next by thread: Re: How to get rid of If[ ... ] in a result