|
[Date Index]
[Thread Index]
[Author Index]
complex-valued expression not simplifying completely (was: ARghh!!)
- To: mathgroup at smc.vnet.net
- Subject: [mg18790] complex-valued expression not simplifying completely (was: ARghh!!)
- From: paulh at wolfram.com (P.J. Hinton)
- Date: Thu, 22 Jul 1999 08:19:16 -0400
- Organization: Wolfram Research, Inc.
- References: <7n12tn$bd7@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
In article <7n12tn$bd7 at smc.vnet.net>, "O. Matt Umurhan" <matt at kelvin.nas.nasa.gov> 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.com
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 ?
|