Mathematica 9 is now available
Services & Resources / Wolfram Forums
MathGroup Archive
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 1999

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

Search the Archive

complex-valued expression not simplifying completely (was: ARghh!!)

  • To: mathgroup at
  • Subject: [mg18790] complex-valued expression not simplifying completely (was: ARghh!!)
  • From: paulh at (P.J. Hinton)
  • Date: Thu, 22 Jul 1999 08:19:16 -0400
  • Organization: Wolfram Research, Inc.
  • References: <7n12tn$>
  • Sender: owner-wri-mathgroup at

In article <7n12tn$bd7 at>, "O. Matt Umurhan" <matt at> writes:

> I am having the worst time dealing with a complex numbered expression.
> The problem is this:  I have a numerical expression I wish mathematica
> to evaluate, the expression happens to be complex.  So, I have it
> do the evaluation and for output it gives me, for example,
> Out[122]=       ((1+ 2 I) - (43 - 4 I))
> when the ouput ought to read:
> Out[123]=      -42 - 2 I
> it leaves the output with these damned parenthesis in there and
> I do not know, for the life of me, how get take this output and
> remove these strange and pesky parens.

Given that the Mathematica kernel in its default state evaluates
your first output to a simpler form:

In[1]:= ((1+ 2 I) - (43 - 4 I))

Out[1]= -42 + 6 I

it is not clear what might be causing your troubles.  Perhaps you
could post a minimal example of an input that gives rise to the
undesired result?

P.J. Hinton	
Mathematica Programming Group		paulh at
Wolfram Research, Inc.
Disclaimer: Opinions expressed herein are those of the author alone.

  • Prev by Date: Re: InputStream in version 3 vs version 4
  • Next by Date: Re: InputStream in version 3 vs version 4
  • Previous by thread: Re: Is there a FAQ? (Different question -- why the pause
  • Next by thread: ? Repeated Patterns ?