For Programmers: Free Programming Magazines  


Home > Archive > Mathematica > November 2005 > does this shut down anyone else's kernel?









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author does this shut down anyone else's kernel?
Chris Chiasson

2005-11-27, 3:58 am

D[{x[1],x[2],x[3]},{{y[1],y[2],y[3]}},No
nConstants->{x[1],x[2],x[3]}]

WinXP SP2 Mathematica 5.2

Steven M. Christensen

2005-11-27, 3:58 am

Chris Chiasson wrote:
> D[{x[1],x[2],x[3]},{{y[1],y[2],y[3]}},No
nConstants->{x[1],x[2],x[3]}]
>
> WinXP SP2 Mathematica 5.2
>

Looks like you have found a bug, as yes, it kills mine too. (Sun running
Solaris and Mathematica 5.2). Using the text based version (math rather
than mathematica), it causes a segmentation fault - see below.


sparrow /export/home/drkirkby % math
Mathematica 5.2 for Sun Solaris (UltraSPARC)
Copyright 1988-2005 Wolfram Research, Inc.
-- Motif graphics initialized --

In[1]:=
D[{x[1],x[2],x[3]},{{y[1],y[2],y[3]}},No
nConstants->{x[1],x[2],x[3]}]
Segmentation fault
sparrow /export/home/drkirkby %


--
Dave K

http://www.southminster-branch-line.org.uk/

Please note my email address changes periodically to avoid spam.
It is always of the form: month-year@domain. Hitting reply will work
for a couple of months only. Later set it manually. The month is
always written in 3 letters (e.g. Jan, not January etc)

Adriano Pascoletti

2005-11-27, 3:58 am

The same with "5.2 for Mac OS X (64 bit) (June 20, 2005)":

Adriano Pascoletti

Chris Chiasson wrote ..
> D[{x[1],x[2],x[3]},{{y[1],y[2],y[3]}},No
nConstants->{x[1],x[2],x[3]}]
>
> WinXP SP2 Mathematica 5.2
>


Renan

2005-11-28, 3:59 am

On 11/27/05:
> Chris Chiasson wrote:
> Looks like you have found a bug, as yes, it kills mine too. (Sun running
> Solaris and Mathematica 5.2). Using the text based version (math rather
> than mathematica), it causes a segmentation fault - see below.
>
>
> sparrow /export/home/drkirkby % math
> Mathematica 5.2 for Sun Solaris (UltraSPARC)
> Copyright 1988-2005 Wolfram Research, Inc.
> -- Motif graphics initialized --
>
> In[1]:=
> D[{x[1],x[2],x[3]},{{y[1],y[2],y[3]}},No
nConstants->{x[1],x[2],x[3]}]
> Segmentation fault
> sparrow /export/home/drkirkby %


For reasons unknown, it does not happen on Mathematica 5.0:

renan@nightfall :~$ math
Mathematica 5.0 for Linux
Copyright 1988-2003 Wolfram Research, Inc.
-- Motif graphics initialized --

In[1]:= D[{x[1],x[2],x[3]},{{y[1],y[2],y[3]}},No
nConstants->{x[1],x[2],x[3]}]

D::dvar: Multiple derivative specifier {{y[1], y[2], y[3]}}
does not have the form {variable, n} where n is a nonnegative machine
integer.

D::dvar: Multiple derivative specifier {{y[1], y[2], y[3]}}
does not have the form {variable, n} where n is a nonnegative machine
integer.

D::dvar: Multiple derivative specifier {{y[1], y[2], y[3]}}
does not have the form {variable, n} where n is a nonnegative machine
integer.

General::stop: Further output of D::dvar
will be suppressed during this calculation.

Out[1]= {D[x[1], {{y[1], y[2], y[3]}}, NonConstants -> {x[1], x[2], x[3]}],

> D[x[2], {{y[1], y[2], y[3]}}, NonConstants -> {x[1], x[2], x[3]}],


> D[x[3], {{y[1], y[2], y[3]}}, NonConstants -> {x[1], x[2], x[3]}]}


In[2]:=

--
Thanks/obrigado, Renan "Wishmaster" Birck - Canoas, Rio Grande do Sul, Brasil
MSN: wizard_of_yendor@hotmail.com
Orkut: http://www.orkut.com/Profile.aspx?u...360379963855296

2005-11-29, 4:03 am


Yes,
It carshes on my computer as well
Mathematica 5.2 under Linux (SUSE 10.0)
yehuda

On 11/27/05, Chris Chiasson <chris.chiasson@gmail.com> wrote:
>
> D[{x[1],x[2],x[3]},{{y[1],y[2],y[3]}},No
nConstants->{x[1],x[2],x[3]}]
>
> WinXP SP2 Mathematica 5.2
>
>



Chris Chiasson

2005-11-29, 8:00 am

Renan,
Does Mathematica 5.0's D command have the ability to generate a matrix
of partial derivatives? (It's funny about the 5.2 partial derivatives
.... they seem to be in the "wrong" order, but that doesn't seem to
matter after taking the determinant).
--
http://chrischiasson.com/contact/chris_chiasson

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com