First  |  Prev |  Next  |  Last
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
CreatePalette -> make palette inherit notebook's kernel
Hello MathGroup, I'm using a palette to display some information dynamically. It is created using CreatePalette[]. What is the correct/easiest way to make the palette inherit the original notebook's (from where CreatePalette[] is evaluated) kernel in case the notebook was not using the default kernel? -- ... 1 Aug 2010 05:08
importing 3D-data from STEP file
Hallo, STEP files are an ISO specified (http://en.wikipedia.org/wiki/ISO_10303-21 <http://en.wikipedia.org/wiki/ISO_10303-21> ) standard for exchanging 3D model data. Mathematica (v7) cannot import these files. Has anyone written any routines to import such files? For the wolfram people: any chance s... 1 Aug 2010 05:08
Kernels dying on parallel code
I have an 8-core desktop composed of two quadcore Xeons. Whenever I try to run parallel Mathematica 7.0.1 code it tries to spawn 8 kernels and then four of them die, resulting in lots of communication errors. Is this normal? -- Dr Jon Harrop, Flying Frog Consultancy Ltd. http://www.ffconsultancy.com ... 3 Aug 2010 07:03
assuming certain properties about variables
Hi, let's say I have defined the following function: f[x_?Positive] = x Now I want to evaluate f with a variable t: f[t] As mathematica knows nothing about t, the output is f[t] instead of t. How can I tell mathematica, that t should be a positive number so that Positive[t] evaluates true and then f[t] eval... 8 Aug 2010 07:59
discretized Laplacian or linear inverse problem with extremely
Thank you! On Jun 3, 11:47 am, Igor <i.e.koz...(a)gmail.com> wrote: Hello! There are: A n*n matrix x n*1 matrix==column b n*1 matrix==column and the well known equation A.x==b I know columns x and b I want Mathematica to derive matrix A Of course, generally, this is a complicated... 2 Aug 2010 08:08
A problem with Thread[]
Hello all, Here is a snippet of code: MyArcTan := Function[{x, y}, Module[{result}, If[x == 0 && y == 0, result = 0, result = ArcTan[x, y] ]; result ] ]; In[725]:= Thread[MyArcTan[{-1, 0, 1}, 0]] Out[725]= result$58407737 Somehow, when I thread my custom function ... 31 Jul 2010 03:13
Cannot load example data
The Graph Utilities docs have some nice examples but many of them do not run in my copy of Mathematica 7.0.1 (Windows), giving errors like the following when trying to load example data: FetchURL::nofile: File C:\Users\Jon\AppData\Local\Temp\mAC72.tmp\can___61.mtx.gz cannot be opened. Am I doing something w... 2 Aug 2010 08:08
different results for Standard vs Prefix forms
First one works, but second one doesn't, why? Block[{n = 2}, Plot[n x, {x, 1, 2}]] Block[{n = 2}, #] &@Plot[n x, {x, 1, 2}] ... 3 Aug 2010 07:03
How export/recompile expressions and calculation code to run it
Hello, We have some Mathematica program (with Mathematica-based GUI) and we need to sell it to customers. We would like to make our program independent of Mathematica (on running time). I see two opportunities: 1) We can Export all key mathematical expressions from mathematica to java classes and then use ... 30 Jul 2010 07:29
Which inside Module causes problems with ReplaceAll
Hi, Version 7.0.1 This works: In[7]:= test[x_]:=Module[{u}, u[t_]:=t^2; u[x]] In[8]:= test[t]/.t->3 Out[8]= 9 This doesn't: In[9]:= test[x_]:=Module[{u}, Which[ x==0,0, True, u[t_]:=t^2; u[x] ] ] In[10]:= test[t]/.t->3 During evaluation of In[10]:= Pattern::patvar:... 31 Jul 2010 03:13
First  |  Prev |  Next  |  Last
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20