Questions on implementation details and how the parts of Mathematica are arranged or configured to work. Avoid this tag for issues that are confined to a specific operating system.

learn more… | top users | synonyms

1
vote
1answer
35 views

ContourIntegral keyword

In version 10.1 ContourIntegral seems to be a keyword as it appears in the completion box. However, one cannot access to the documentation page by pressing "F1". Does anyone know what is it for?
4
votes
0answers
55 views

3D orbits of moons around their respective planets

I have seen a lot of solar system models (both animated and not), but I am trying to replicate the same thing with moons. Either just one planet and its lunar system or the our whole solar system with ...
0
votes
0answers
35 views

vector with conditions/assumptions

Probably I just don't get it and it is because it's friday morning. I want to create a systems description fSys = {{x2}, {u g[x] + h[x]}}; However, there is a ...
1
vote
1answer
59 views

Solving a system of non-linear equations?

I want to solve the following system of equations: ...
4
votes
2answers
69 views

how to share variables between subset of notebooks

I have some notebooks belonging to a project. I want them to share definitions with each other, but not with other notebooks. Here is one approach that I thought would accomplish this: go to ...
3
votes
2answers
59 views

how to get the size of a directory(total size of all files under this directory or its subdir or …)

I use Mathematica10 in my Win7 and I want to estimate the amount of disk space occupied by each dirs. I try the code(the code was copied from How do I find the amount of free space on disk?, actually ...
3
votes
1answer
49 views

Mathematica 8 won't start - Error Code 499

I am pretty dumbfolded on this one and there seem to be virtually no clues around the net. The only thing vaguely related is a fairly similar (unsuccessful) question on reddit: ...
1
vote
1answer
46 views

Creating a keyboard shortcut to change the Style of text [duplicate]

I'm editing a very long text in a Mathematica notebook and I'm using the "Article" stylesheet. In this text, code is highlighted using ...
2
votes
0answers
51 views

SetSystemOptions is obsolete? What is next? [closed]

When running the following code on Mathematica 10.2 SetSystemOptions[ "CompileOptions" -> "CompileReportExternal" -> True]; I received the message: ...
3
votes
0answers
61 views

Shared variables between notebooks using the same kernel not working in mathematica 10.1?

I am trying to access the variables over two Mathematica documents, this works fine when I use Mathematica 9 but when I attempt to do the same on 10.1 it doesn't work. I have set both notebooks to ...
5
votes
2answers
94 views

Strange behaviour of order of execution or bug?

In[1] and In[3] are identical but the output is different.
12
votes
1answer
342 views

Detect if code is running in the cloud

Wolfram offers several services for running code in the cloud: Mathematica Online, Programming Cloud, CloudEvaluate, etc. How can a piece of code detect if it is ...
8
votes
1answer
675 views

What is included in Wolfram Extras?

I recently installed a new version of Mathematica and it includes an optional companion package entitled "Wolfram Extras". Is there any official documentation (release notes?) that details what ...
0
votes
0answers
80 views

Setting UserBaseDirectory for custom packages

Is there any reason to set $UserBaseDirectory to be anything other than the default? On my mac its set as ...
5
votes
0answers
101 views

Can Mathematica poll the dimensions of the individual monitors of its host computer?

The command SystemInformation["Devices", "ScreenInformation"] returns the screen area in the monitors connected to its host computer: ...
1
vote
1answer
218 views

Solve system of equations with implicit function [closed]

I am trying to solve a system of 3 (non-linear) equations with two variables $x,\ y$ and one unknown function $f(x,y)$ of these two variables. Also, the system includes the change of this function $f$ ...
7
votes
1answer
116 views

Is It Safe to Remove the Documentation Notebooks?

I am running Mathematica 10 on linux and noted that the directories containing Mathematica's documentation come to over 3GB. Am I safe to delete these directories without affecting how Mathematica ...
4
votes
1answer
64 views

Sequential System of Equations

I’m trying to set up this system of equations that sequential feeds into itself. I have these 2 equations I’m running. I’m new to Mathematica so I have no idea how to even start this. The basic idea ...
1
vote
0answers
245 views

SystemException[MemoryAllocationFailure] with Memoized function [closed]

Version 10.1 Win7x64 Enterprise. This is more of a report than a question but others may have seen the same / have insights. I have some code (that I can't really post as it's too big) with a large ...
0
votes
0answers
115 views

Solving a big System of ODEs

I want to solve numerically a linear first-order ODE system with over 12000 equations. I used NDSolve with implicit options: ...
11
votes
2answers
195 views

Why is a symbol still found after changing its context?

It seems that we can change the context of symbols: In[1]:= x = 1 Out[1]= 1 In[2]:= Context[x] = "foo`"; But then x is still ...
0
votes
0answers
78 views

Any way of solving this system of nonlinear equations with non integer powers?

I have a system of four nonlinear equations. Some of the exponents are fractions. I was wondering if this is what is causing NSolve to run for hours without giving ...
9
votes
1answer
101 views

Why are there a lot of input forms in Mathematica?

I'm a novice in using Mathematica. Please can you explain why there are a lot of input forms in Mathematica such as standard, prefix, postfix and infix?
2
votes
2answers
113 views

Recursion problem

I try to make designation a = {Subscript[a,1], Subscript[a,2], Subscript[a,3]} but receive mistake $RecursionLimit::reclim: Recursion depth of 1024 ...
2
votes
0answers
44 views

Where can I find detailed information about the SystemOptions?

I'm looking to optimize my Mathematica script, and I'm willing to go spelunking with low-level system options. The problem is that I've been looking in the Mathematica documentation, but there ...
0
votes
2answers
357 views

Lotka Volterra Equation Plotting

So I have a basic Mathematica assignment where we need to numerically solve a Lotka-Volterra predator-prey population equation. So far I have managed to come up with this ...
9
votes
1answer
207 views

Front End options

Inspired by a recent question and others like it, and not finding an existing duplicate, I ask: What is the hierarchy of Front End options? How do they work? How can their values be set and ...
0
votes
1answer
116 views

Optimizing a System of 5 Equations

I have a system of 5 equations that each define a parameter for a metal I-beam. The common variables are beam width (W), web thickness (Tw), and flange thickness (Tf). I would like to find the best ...
1
vote
1answer
94 views

How to checkpoint computations?

Suppose I do some big experiment, presumably in a Table[], or a ParallelTable[]. Experience shows that there is a non-zero ...
19
votes
2answers
361 views

Why doesn't a Composition[] hold its arguments and what can be done about it?

Now that Composition (also RightComposition) has shorthand syntax I am more inclined to use it, however what I feel should be ...
0
votes
1answer
82 views

Unable to configure a system of differential equations

My differential equations have been written as ...
0
votes
1answer
228 views

Solving a system of two equations of third degree

I am trying to solve the following system of two equations for x and y. The solutions for x and y have to be positive and the parameters s and c are positive (to have a coherent interpretation of my ...
12
votes
0answers
307 views

How is the mysterious Raw function used?

I have never seen an example use for the mysterious Raw function: Raw[h, "hexstring"] constructs a raw data object with head h, and with contents ...
90
votes
1answer
1k views

Why are numeric division and subtraction not handled better in Mathematica?

There is something that has been troubling me for a while. At least through version 10.0 the performance of a / b and a - b is ...
7
votes
1answer
200 views

Raise systemwide keypress event

Is there a way to raise system-wide "keypress" events programmatically from within Mathematica? Say "Ctrl+C" or "Ctrl+V", which all other programs can recognize? This is an attempt to gain simple ...
44
votes
3answers
576 views

What bug fixes can be implemented in init.m?

In comments on this question, Mr. Wizard suggested a community wiki to share the bug fixes/workarounds (or possibly other tricks) people load in their init.m. I ...
10
votes
2answers
345 views

Giving JLink Huge Memory by Default

I have noticed that Mathematica makes use of Java by way of JLink, for example, in the extensions such as DatabaseLink and (I think) RLink. It also seems like Java is a first-class citizen for writing ...
2
votes
1answer
150 views

Detect Standalone CDF vs Browser Plugin environment [duplicate]

Recently, Wolfram informed me that there's no way to have a Print button in a CDF running within a plugin environment since the plugin does not interact with the operating system. If you have a way to ...
5
votes
1answer
619 views

CUDALink is not initialized

I've upgraded to Mathematica 9.0 on Ubuntu 12.04 with the latest Nvidia driver (304.64). I load CUDA by using, as usual, Needs["CUDALink`"]. ...
0
votes
1answer
529 views

Calculating orbital period for the logistical map [closed]

I have the following MatLab code ...
21
votes
0answers
902 views

How would I improve this Karaoke machine code?

I was looking at a large collection of Import/Export user suggestions the other day and it dawned on me that we finally have MIDI import in Mathematica 9, which is rather interesting since MIDI ...
20
votes
1answer
1k views

How can I set a keyboard shortcut to run a command?

I want to use this to add a keyboard shortcut to an undo function I wrote. The basic problem is the following: I have a command, let's say x=1, and I want to run ...
7
votes
2answers
288 views

Clean up list of partial outputs for memory

Context I run long Mathematica sessions; sometimes I have Output up to Out[3000+]. Hence I would like to be able to clear out some previous outputs which do use lots of memory. Attempt I am aware ...
7
votes
1answer
199 views

Importing parts of Packages

Some programming languages offer the possibility of importing a single function from a library, as in from x import y I'm looking to import only one function ...
7
votes
1answer
3k views

Is there a system Reset? [duplicate]

Possible Duplicate: How do I clear all user defined symbols? The normal way I reset the Mathematica kernel to its initial state is through the notebook interface: ...
14
votes
4answers
697 views

Which Mathematica files may be deleted to save space

After installation Mathematica 8 for Linux takes more than 3GB in the /usr/local/Wolfram/ directory. I suspect that not all of it is relevant if I want to do some occasional computations. Are there ...
27
votes
2answers
2k views

What is a “Paclet”?

I often see references to "paclets", for example the PacletManager` context, the PacletInfo.m file in some packages and next to ...
30
votes
2answers
2k views

How can I use the Klingon alphabet symbols?

Note: This functionality is presently missing. See: How to add named characters to Mathematica 10? Mathematica apparently supports the Klingon alphabet: ...