Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2009

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

Search the Archive

Re: Additive inverses of lists?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg95783] Re: [mg95747] Additive inverses of lists?
  • From: Bob Hanlon <hanlonr at cox.net>
  • Date: Tue, 27 Jan 2009 06:58:33 -0500 (EST)
  • Reply-to: hanlonr at cox.net

It also works with

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


Bob Hanlon

---- Erik Max Francis <max at alcyone.com> 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-

-- 
Erik Max Francis && max at alcyone.com && http://www.alcyone.com/max/
  San Jose, CA, USA && 37 18 N 121 57 W && AIM, Y!M erikmaxfrancis
   Only love is worth the risk
    -- Oleta Adams




  • Prev by Date: Re: Has anyone tried to use MathLink to receive real-time market
  • Next by Date: Re: Destructuring arguments to pure functions?
  • Previous by thread: Re: Additive inverses of lists?
  • Next by thread: Re: Additive inverses of lists?