Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.graphics.apps.gnuplot > #1144

Re: (negative Value)**(-1.0) creates complex values

Path csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!de-l.enfer-du-nord.net!feeder2.enfer-du-nord.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From Ingo Thies <ingo.thies@gmx.de>
Newsgroups comp.graphics.apps.gnuplot
Subject Re: (negative Value)**(-1.0) creates complex values
Date Sat, 26 May 2012 10:07:26 +0200
Lines 15
Message-ID <a2bh9vF1biU1@mid.individual.net> (permalink)
References <05e72b70-4601-4c79-9102-b6ee4ad1b6f9@k5g2000vbf.googlegroups.com> <a2a29qF85vU1@mid.dfncis.de>
Mime-Version 1.0
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 8bit
X-Trace individual.net qGf8A/4kLQzUvlT/lCPrRgt6UPGUqSimMX2eroIgSj134IJKpgwRedfZArcGsVZEe3
Cancel-Lock sha1:ablQGEZpS7gaETiNwg1GuGs3g9w=
User-Agent Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:12.0) Gecko/20120428 Thunderbird/12.0.1
In-Reply-To <a2a29qF85vU1@mid.dfncis.de>
Xref csiph.com comp.graphics.apps.gnuplot:1144

Show key headers only | View raw


Am 2012-05-25 20:45, schrieb Hans-Bernhard Bröker:

>> Is there a way to prevent gnuplot from generating complex numbers for
>> (negative Value)**(-1.0) and similar cases.
>
> No. Nor should there be one.

Well, (-1)**(-1) is just 1/(-1) = -1. The tiny imaginary part is just a 
rounding error. But I can't see a smooth way to avoid them since gnuplot 
doesn't know whether a real exponent is ever indented to become a 
non-integer value.

Best wishes,

Ingo

Back to comp.graphics.apps.gnuplot | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

(negative Value)**(-1.0) creates complex values Michi <michael.boelling@gmail.com> - 2012-05-25 03:36 -0700
  Re: (negative Value)**(-1.0) creates complex values Hans-Bernhard Bröker <HBBroeker@t-online.de> - 2012-05-25 20:45 +0200
    Re: (negative Value)**(-1.0) creates complex values Ingo Thies <ingo.thies@gmx.de> - 2012-05-26 10:07 +0200
      Re: (negative Value)**(-1.0) creates complex values sfeam <sfeam@users.sourceforge.net> - 2012-05-26 10:38 -0700
  Re: (negative Value)**(-1.0) creates complex values Ingo Thies <ingo.thies@gmx.de> - 2012-05-26 10:19 +0200
    Re: (negative Value)**(-1.0) creates complex values Michi <michael.boelling@gmail.com> - 2012-05-26 02:39 -0700
      Re: (negative Value)**(-1.0) creates complex values Ron Shepard <ron-shepard@NOSPAM.comcast.net> - 2012-05-26 11:42 -0500

csiph-web