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


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

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

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!eternal-september.org!feeder.eternal-september.org!de-l.enfer-du-nord.net!feeder2.enfer-du-nord.net!fu-berlin.de!uni-berlin.de!news.dfncis.de!not-for-mail
From Hans-Bernhard Bröker <HBBroeker@t-online.de>
Newsgroups comp.graphics.apps.gnuplot
Subject Re: (negative Value)**(-1.0) creates complex values
Date Fri, 25 May 2012 20:45:17 +0200
Lines 12
Message-ID <a2a29qF85vU1@mid.dfncis.de> (permalink)
References <05e72b70-4601-4c79-9102-b6ee4ad1b6f9@k5g2000vbf.googlegroups.com>
Mime-Version 1.0
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 7bit
X-Trace news.dfncis.de GbX6vcTH4Yyll1yUrLfLMQ6nZl4X7GrpYtUhpvtzQKjF1GycoCWUYB+AThwDIN5nCsRw6tg0aK
Cancel-Lock sha1:kHBZfoPW6Gh63ZwAmRmnPINIbLM=
User-Agent Mozilla/5.0 (Windows NT 6.1; rv:12.0) Gecko/20120420 Thunderbird/12.0
In-Reply-To <05e72b70-4601-4c79-9102-b6ee4ad1b6f9@k5g2000vbf.googlegroups.com>
Xref csiph.com comp.graphics.apps.gnuplot:1141

Show key headers only | View raw


On 25.05.2012 12:36, Michi wrote:
> 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.

The result of such computations _is_ complex by definition.  If you 
don't want that answer, ask gnuplot a different question, i.e. make the 
exponent an actual integer, reduce the result to its real part.  Or 
maybe just take a step back and ask yourself what's so bad about the 
result you got.

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