# All Questions

9 views

### Dynamic evaluation crashes depending on cell position?

Strangest bug ever. Copy the following piece of code to the same notebook two times, below each other, as two identical cells. Be sure to run a fresh kernel. ...
78 views

### ScheduledTask with scoped variables. Working with timed evaluation

I guess I have to try harder and focus more but timed evaluation always frustrates me. I will show the issue on simple example of delayed trigger. ...
238 views

### How to pick increasing numbers from the list

How to pick increasing numbers from the list. lst = {5, 3, 6, 2, 7, 4, 8}; out: {5,6,7,8} So many interesting ...
182 views

775 views

### Collapse a section of a huge function

Is there an elegant way of hiding/collapsing/folding only a portion of a function? If functions could span multiple cells, this would have been straight-forward!
49 views

### Partial result of aborted evaluation of FullSimplify[]

When FullSimplify invoked on a large expression, it can run for hours. If I do not have time to wait, and abort the evaluation, I get no result, although, ...
26 views

I can load my library, but I cannot unload it with LibraryUnload. I do have a ...
32 views

### Is it possible to enclose code into collapsible/expandable regions? [duplicate]

In some programming languages (e.g. C#, Visual Basic) there are language constructs that have no effect on the execution of code whatsoever, but exist solely to allow grouping fragments of code into ...
63 views

### how to do variation

I have an equation needs to do variation. I can do it by hand, but I get different result by mathematica. maybe I made some mistakes in programming. can anyone point out for me? thanks This is how I ...
182 views

Assume the following situation: I have a WolframLibrary function which gets as parameter an integer tensor (which is for simplicity of rank 1) and the function should return an integer list through ...
61 views

### Will I be able to use NDSolve, and then how

So I am completely new to Mathematica, so sorry if this is a dumb question. I have a set of 3 coupled nonlinear differential equations. They are (a,b,c,D,L constants): ...
16 views

I use IKernelLink class. When I call evaluate method, I get an exception, because I have unread data. How can I ignore it?
12 views

### FormCalc Troubleshooting

I was wondering if someone knows enough about the FormCalc package to help me out: I am using FeynArts to generate Feynman-diagrams for certain tree-level processes in my own model and FormCalc to ...
406 views

### Implementing a dictionary data structure

As one learns from a course on data structures, hash maps or dictionaries can be efficient when applied to appropriate tasks. I need a hash map in Mathematica and I've never found it. I'm scratching ...
276 views

### How to convert data types in a LibraryLink wrapper

I have a dynamic library which I want to load into Mathematica using LibraryLink. I don't have access to the source code of the library, so I need a C wrapper to do the job. In the C wrapper, I would ...
38 views

### StreamPlot,smooth curves

Using the StreamPlot I observed that when the streamline is a small circle, this line is not smooth. How can I increase the number of points along the streamline? For example, these are the magnetic ...
40 views

### Differentiating a function that has NIntegrate within it

I am something of a novice with Mathematica. I have written the following code; ...
86 views

### How to create 2k sized vector in k sized loop

I want to solve a system of simple differential equations. At some point I need to solve non-linear system of algebraic equations with Newton method. I would like to efficiently create a right hand ...