MathGroup Archive 2009

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

Search the Archive

Re: Additive inverses of lists?



Hi Erik,

it looks like the arguments of StreamPlot are not properly evaluated: E.g.:

StreamPlot[1 + {x, y}, {x, -3, 3}, {y, -3, 3}]

StreamPlot[1  {x, y}, {x, -3, 3}, {y, -3, 3}]

both crash the kernel.

This is a bug, please report it to Wolfram.

Daniel





Erik Max Francis wrote:

> Is this a known no-no, or did I find something new?  (I obviously 

> originally tried it in the graphical front end; I'm only doing it from 

> the command line interface for demonstration.)

> 

> max@boron:~% math

> Mathematica 7.0 for Linux x86 (32-bit)

> Copyright 1988-2008 Wolfram Research, Inc.

> 

> In[1]:= StreamPlot[-{x, y}, {x, -3, 3}, {y, -3, 3}]

> zsh: segmentation fault  math

> 

> Interestingly enough if the StreamPlot is not involved, nothing but happens:

> 

> In[1]:= -{a, b}

> 

> Out[1]= {-a, -b}

> 

> And plotting {-x, -y} instead of -{x, y} works fine:

> 

> In[1]:= StreamPlot[{-x, -y}, {x, -3, 3}, {y, -3, 3}]

> 

> Out[1]= -Graphics-

> 




  • Prev by Date: Re: Destructuring arguments to pure functions?
  • Next by Date: Re: Permutations...
  • Previous by thread: Re: Additive inverses of lists?
  • Next by thread: How to tell that PlotRange->Automatic has excluded points