# All Questions

0answers
86 views

### Finding quasi-cliques

What is the best way to identify quasi-cliques in a graph in Mathematica? I don't think it has been implemented, so are there any solutions to do this? Or do I have to export the graph data somehow ...
3answers
125 views

### Make NonlinearModelFit return continuous function

Suppose I want to fit the dataset ...
2answers
741 views

### Kernel crash after idle in version 10.0

Bug introduced in 10.0.0 and fixed in 10.0.2 In version 10.0, when I leave the Mathematica section idle for some time (of order an hour), the kernel quit automatically. The syntax highlighting is ...
1answer
104 views

### FindMaximum failing on a trivial problem

I am trying to solve a trivial optimization problem with FindMaximum but for some reason it is not going. I reduced the problem down to the following non-working ...
1answer
78 views

### FullSimplify on TransformedDistribution

Bug introduced in 8.0.0 Could someone check that I haven't gone mad? I would like to take the maximum of two $[0, 2 \pi]$ independent uniform random variables. ...
0answers
24 views

### Access interactive web forms

I would like to communicate with interactive web forms, e.g., get the same HTML response as if I had clicked a "select" button and then clicked a "submit" button on a web page. This is for automated ...
1answer
46 views

### Display coordinates of pointing device in VectorPlot

I want to show the coordinates of the (mouse) pointing device as I move the pointing device over the VectorPlot without a (right or left) click. I have tried ToolTip and MousePosition but I cannot get ...
1answer
68 views

### Call library function in compile

On the Wolfram official website, there is an example of calling library function in a compiled function: ...
2answers
118 views

### Are variables always assumed to be real in Jordan Decomposition?

If you give the following input in Mathematica 9.0 (Student Edition): JordanDecomposition /@ ({{1, #}, {#, -1}} & /@ {i, I}) Mathematica gives you two ...
1answer
88 views

### Mathematica script file in Linux - how to export PDF file and close kernel?

tmp.m file: tmp = Table[RandomReal[], {3}, {4}] Export["test.xlsx", tmp] Quit[] Then ...
1answer
151 views

### How to determine if a function is continuous?

I wish to write code for Riemann Stieltjes integrals in Mathematica. A necessary condition for the theorem to hold is that the function must be continuous. The domain of the function is a closed ...
2answers
91 views

Observe that ...
2answers
611 views

1answer
209 views

### Multivariate resultant in Mathematica?

Is there any command in Mathematica 7 which can compute the (McCaulay) resultant of a parametric system of multivariate polynomial equations? In fact, it would be great if there is also a way to ...
0answers
84 views

### Numeric error in trivial compilation

I came across this strange problem: dd = Compile[{}, Abs[(10^-200 + 10^-200 I)/(10^-200 + I 10^-200)]^2, CompilationTarget -> "C"] dd[] ...
1answer
103 views

### How to make the plot smooth

There are some stranges point which cause the figure isn't smooth. I think that the reason is the method of numericial integration. Here is my code, it's pleasure that one can revise the drawbacks in ...
1answer
70 views

### Multiple colors on a single graph edge?

Is there any way to put two colors on one single graph edge? For example, I want to highlight two cyclic paths (red and blue). But, if I put the two colorings into one image, it does not work as I ...
2answers
90 views

### Convert DateObject into TimeObject

How to elegantly convert from DateObject to TimeObject? The purpose is to extract time from the DateObject and manipulate only ...
3answers
327 views

### Select Cells to End of Notebook

I'd like to create a keyboard shortcut that will allow me to select all of the cells from the current cell until the end of the notebook, similar to how ShiftCtrlEnd functions when editing text in ...
0answers
47 views

### Can Predict/Classify be parallelized?

Being able to parallelize Predict /Classify would be useful on multiple fronts: Performance/Scale Streaming Pedagogical ...
2answers
238 views

### Modifying the elements of a list according to a given probability

Let list be a list of lists, the elements of which are random integers in the interval $[1,c]$. Each element $i$ has a probability ...
1answer
129 views

### How can I avoid getting the message Solve::ratnz?

My function is ...
1answer
98 views

...
2answers
159 views

### How can I evaluate untrusted Mathematica code in a sandbox?

Is there any way to build a sandbox to evaluate untrusted Mathematica expressions in order to prevent them from having (malicious or accidental) harmful side effects? Context: I'm developing a system ...
5answers
161 views

### Nested list from a flat folder list

I have a list of folders and files in my current working directory as a result of a built-in function FileNames: FileNames["*", "", Infinity]]. It looks like this: ...
0answers
40 views

### Large lists to manipulate later in chunks

If I try to evaluate either one of the following expressions: Table[n, {10^8, 10^9] Range[10^8, 10^9] I get ...
5answers
9k views

### How to use Mathematica functions in Python programs?

I'd like to know how can I call Mathematica functions from Python. I appreciate a example, for example, using the Mathematica function Prime. I had search about MathLink but how to use it in Python ...
1answer
40 views

### Solving recursions

This question is tied to my previous question. I have a few recursion formulas, and I keep getting Recursion depth of 1024 exceeded. error. I need to get the ...
1answer
29 views

### Calculate Max-Min value and corresponding parameters

I have two functions funA and funB which are also functions a,b,x,and ...
0answers
47 views

### Piecewise NDSolveValue: Nested Variable Iteration

I am attempting to make the variable Rc a piecewise-function of [z] and have it update as NDsolve iterates through the range of 'z' such as {z,0,Le), but to no avail. The following code is an attempt ...

15 30 50 per page