Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results found
Search options not deleted closed
0 votes
3 answers
121 views

How can I generate a generalized product to two lists in a special way? [duplicate]

Let's say I have two lists, and I'd like to generate a "cartesian product" from these two. Specifically Inputs: A = {{{1}}, {{2}}, {{1}, {2}}}; B = {8, 9}; Desired output: X = {{{{1}} -> 8, {{1}} -> …
cartonn's user avatar
  • 1,005
2 votes
2 answers
373 views

Removing numerically vanishing complex part within NDSolve [closed]

I am using functions that are only well-defined for real values (e.g. HeavisideTheta) within NDSolve. Internally NDSolve works, of course, with complex numbers and sometimes returns a numerically van …
Emerson's user avatar
  • 1,217
4 votes
0 answers
378 views

Non-linear integral equation [closed]

I'm trying to solve with Mathematica an integral equation. I found this excellent answer (How to solve a non-linear integral equation?) solving with a collocation method a problem which can be restate …
zakk's user avatar
  • 978
1 vote
0 answers
417 views

Compiler stack overflow [closed]

I tried to compile a huge function. I used these options: "RuntimeOptions" -> {"EvaluateSymbolically" -> False}, CompilationOptions -> {"InlineCompiledFunctions" -> True}, CompilationTarget -> …
MOON's user avatar
  • 3,886
1 vote
0 answers
57 views

Default starting location of "Save as..." dialog in OS X [duplicate]

In the answer to this previous question, user Szabolcs says On OS X (I'm using 10.9 and Mathematica 9) the file chooser dialogue will remember the last location you used. So if you Save/Open somethin …
thecommexokid's user avatar
2 votes
0 answers
80 views

How to use nest to reduce the memory eatting of mma? [closed]

I enconter a problem about number: If we have 5+3+2=151022 9+2+4=183652 8+6+3=482466 5+4+5=202541 then 7+2+5=? It is easy to get the first two group of numbers? for the last, it is not so easy to ob …
van abel's user avatar
  • 1,245
1 vote
0 answers
145 views

EmitSound delay [closed]

I am experiencing a long delay (6 sec) between evaluating an EmitSound expression and the actual sound output. This may have happened after upgrading to Mma 10.0.2 or OSX Yosemite. Has anyone else exp …
abwatson's user avatar
  • 1,941
0 votes
1 answer
297 views

Create an array with certain conditions and use it to fill a matrix [closed]

I am translating my code from Python to Mathematica. Here is a piece of my Python code: power_spectrum_k = np.zeros(n, float) for k in range(1, int(n/2+1)): power_spectrum_k[k] = math.exp(-(2*math …
johnhenry's user avatar
  • 193
4 votes
0 answers
126 views

DiracDelta and version 10.0.0 [duplicate]

Note: This issue seems to affect version 10.0.0 only and is fixed in 10.0.1, 10.0.2, 10.1 and 10.2 When evaluating the following two inputs: Integrate[DiracDelta[1-x] DiracDelta[y-2] Sin[x] Cos[y], { …
Nid's user avatar
  • 41
0 votes
1 answer
396 views

Scaling vectors in an animated vector field [duplicate]

I want to animate a VectorPlot3D. But, Mathematica rescales the vectors in every frame. Can you scale them all to one fix point? For example, scale the vectors on their length compared to, say, the le …
Max's user avatar
  • 1
0 votes
3 answers
604 views

Problems with finding the real solutions of equation [duplicate]

I am trying to find real solutions of equation using Mathematica 8.0 but there is some problem I don't know how to explain. For example, for the input Solve[x^16 + x^3 + x + 1 == 0, x, Reals] it …
vladimir's user avatar
3 votes
0 answers
572 views

Difference between the CLI and the GUI version of Mathematica [closed]

I have been trying to find out how much faster Mathematica is in CLI than in GUI, and with lack of success in finding any information about it, I decided to crowdsource my quest for this piece of hope …
V-J's user avatar
  • 211
1 vote
0 answers
98 views

What's in a Name? [closed]

StringReplacePart["StringReplacePart","At",{14,17}] ... Surely you can't be serious? ... Naming Matters: I think what and how we call things is underestimated since not only does it immediately impac …
Ronald Monson's user avatar
9 votes
1 answer
509 views

Why is Reap result nested? [closed]

A minimal (toy) example for my question: i= 1; Reap[Do[Sow[i = (i + 1)^2], {4}]] (* {Null, {{4, 25, 676, 458329}}} *) I presume the entire result is a list with first entry Null because the …
murray's user avatar
  • 12.1k
1 vote
0 answers
166 views

Assign the results from a Solve to variable [closed]

I am a new user. I know, that my question was already asked billion times before, for example here, but I still cannot adopt these answers to my problem. In my problem I am solving the equation and a …
Mikhail Genkin's user avatar

1
2 3 4 5
33
15 30 50 per page