This tag is reserved for questions where the problem has been vetted by this community and the observed behavior is confirmed to be a bug. Please do not use this tag for new questions.
12
votes
2answers
278 views
Using Goto and Label in compiled function?
Below I post some rudimentary code to show that there is something wrong using Goto and Label commands in compiled functions (or I believe there is something wrong). It seems that the command Label is ...
12
votes
2answers
244 views
How to embed an image into a string?
The documentation for String contains the following statements:
Strings can contain any sequence of ordinary and special characters:
…
Strings preserve ...
4
votes
1answer
91 views
Error in ARIMAProcess example
I am trying to compile the sample of ARIMAProcess of MMA here .It doesn't work.What is wrong?Could you please help?I am using exact same code.
...
4
votes
1answer
101 views
RLink and R v3.0.1?
Running
InstallR["RHomeLocation" -> "C:\Program Files\R\R-3.0.1"]
results in a popup box titled "Version Mismatch" saying "Error: R.DLL version does not match (DLL:3.0.1, expecting: 2.14.0)."
...
3
votes
0answers
87 views
InverseFunction on an Interpolating Function is misbehaving
I am getting strange behavior when I try to calculate the inverse of an interpolating function for two similar data sets.
My data sets are:
...
6
votes
1answer
90 views
Tooltip not working in web deployed cdf
I deployed a CDF file in a web page. I used both Mouseover and Tooltip functions. They both work in the raw CDF file. The ...
4
votes
1answer
140 views
Mathematica 9 can't integrate this function but earlier versions could
Integrate[ ArcTan[x]/(1 + x) Log[(1 + x^2)/2], {x, -1, 1}]
I used Mathematica 9.0.1 on Windows7 32bit, Mathematica 9 cannot compute this, but Mathematica 8 gives ...
13
votes
2answers
145 views
Problem importing URL with Greek characters
I'm considering buying a car. So I thought why not make a web-crawler in Mathematica to pile-up car data? Brilliant idea.
Then I found this Greek website, gocar.gr, which just so happens to have all ...
28
votes
2answers
506 views
Variable naming changes everything
I am having a rather unusual problem I do not understand with Mathematica where renaming one of the variables of my function causes the function to stop "working". Here is the example of the code ...
12
votes
1answer
143 views
NExpectation behaves oddly with EmpiricalDistribution
My question concerns the usage of NExpectation and Expectation and why I see the behavior I see in the following example.
First ...
5
votes
0answers
58 views
Exporting large numbers in WDX format
I have a list of 10 000 3×3 matrices in Mathematica. The entries are rational numbers. I would like to write this to a file so I can load it again in the future. After some fussing with file formats, ...
7
votes
1answer
187 views
How accurate is GeoDistance?
Two years ago I tried an evaluation copy of Mathematica. I reported
various inaccuracies in the GeoDistance routine to which I never
received any fix. Could ...
8
votes
1answer
177 views
Mathematica8 can compile this function but Mathematica 9 can't if I set CompilationTarget -> “C”
Following code worked on Mathematica 8, but in Mathematica 9 it can't be compiled, it return this message
CompiledFunction::cflist: Nontensor object generated; proceeding with uncompiled ...
8
votes
3answers
226 views
Why doesn't my script work when I redirect stdout?
I'm using Mathematica Home Edition 9.0.1 on Mac OS X 10.8.2.
I have this script:
...
7
votes
1answer
130 views
PlotMarkers doesn't inherit PlotStyle when Graphics[a] isn't a List[]
Could somebody explain, why Circle does not inherit the PlotStyle of the plot when used as ...
10
votes
2answers
157 views
SaveDefinitions->True changes the displayed image
I have a Manipulate[ ] that displays an image with a superimposed Locator object. It works fine when I have ...
2
votes
0answers
113 views
Why my Mathematica 9.0.1 wont work with some samples of Mathematica in Graph Theory?
I updated my Mathematica recently to 9.0.1 cause the previous version was giving me freaky result especially in FindMinimumCostFlow and ...
4
votes
2answers
116 views
Why is this parallel evaluation with Dispatch[] so slow?
Can you efficiently parallelize this? The parallel versions are much slower than the sequential version, and I'm not sure why. Does SetSharedVariable allow ...
18
votes
1answer
405 views
Transferring a large amount of data in parallel calculations
This question is inspired by one of @whuber's answers
Consider the following code:
...
8
votes
1answer
296 views
FourierSeries for rational function looks wrong
I have the following code:
ser[x_] = FourierSeries[(\[Pi]^2 + a)/(3 x^2 + a), x, 10] // N // Chop
It gives me some series, which I then try to plot. And ...
5
votes
1answer
67 views
Importing images from the web using ImportString & URLFetch
I can bring images from the web using the Import command like this:
Import["http://blog.wolfram.com/wp-content/uploads/2008/06/se-30.jpg"]
Sometimes the web ...
7
votes
0answers
92 views
Compile not correctly initializing a variable defined inside Module
In the following example, inside the minimumX's Module, x is initialized to 1, but the ...
10
votes
1answer
234 views
Why can't I change the value of MaxRecursion in NIntegrate when integrating BesselJ?
I am trying to evaluate this integral numerically
$$
\int_0^{\infty } J_0(q R) \tanh(q) \, \mathrm{d}q
$$
for large values of $R$. This makes the integrand oscillate more quickly and Mathematica ...
5
votes
4answers
144 views
4
votes
1answer
94 views
RSolve gives a Context::ssle error
I want to solve the following recurrence equation
RSolve[{(k + 2) c[k + 2] q^(k + 1) - c[k] == 0}, c[k], k]
During calculation in Mathematica I get this ...
6
votes
1answer
68 views
5
votes
1answer
159 views
Error invoking Information on functions containing Legended
In adapting some plotting functions to utilize the PlotLegends option of version 9, I came across the following errors:
...
4
votes
2answers
114 views
Strange behavior of Integrate
I'm trying to calculate the following integral using Mathematica 9.0.1.0
a11=Integrate[Abs[Sin[b+x]],{x,0,2*\[Pi]}]
This should be a simple problem; however, it ...
5
votes
1answer
184 views
LogPlot axes labels destroyed when working in high precision
(I'm using Mathematica 8.)
I have a Taylor series:
poly = Normal[Series[E^x, {x, 0, 10}]]
I want to produce a log-linear plot of the error. This is easy enough ...
5
votes
2answers
127 views
Is there something wrong with VertexConnectivity
As I noticed in the documentation VertexConnectivity is defined as the following
The vertex connectivity of a graph $g$ is the smallest number of vertices whose ...
0
votes
0answers
89 views
Problem when merging cells including commentary
This is a more of a problem report than a question.
When merging the two cells
Cell1:
foo
(*foobar*)
bar
and Cell2:
...
8
votes
2answers
143 views
Problem with NIntegrate when WorkingPrecision is specified
I am trying to evaluate this integral numerically:
$$
\int_0^{\infty } m \exp (-m) J_1(m){}^2 \, dm
$$
Everything is OK when only the integration method is specified:
...
4
votes
0answers
169 views
Incompleteness of FindInstance
I've been playing around with Resolve and FindInstance. I know that Resolve should always ...
2
votes
0answers
100 views
Derivatives of list elements
Could someone explain the odd behavior of the Derivative function when drawing arguments from lists? We have,
...
5
votes
0answers
79 views
Compiled function crashes kernel when trying to list over different length arguments
I'm trying to speed up a tally/binning operation that I have to run many times.
I have many lists of between 1 and 10 numbers from the range [1,5] and I want to ...
8
votes
0answers
140 views
Why does Mathematica give an incorrect answer to this multiple integral?
This is not a new problem but I would like to understand why Mathematica gives the result that it does. (Volume of a hypersphere)
...
11
votes
1answer
119 views
Upon PDF export, edgeless rectangles do not tile perfectly, and corners may be cut. Is this a bug?
Exporting the following as a PDF file
Graphics[{
{Red, Rectangle[{0, 0}, {1, 1}]},
{Green, Rectangle[{1, 0}, {2, 1}]}
}]
does not produce perfectly tiled ...
7
votes
1answer
72 views
ToNumberField won't recognize Root[…] as explicit algebraic number
In Mathematica 9.0.1, it appears that ToNumberField will not always recognize a Root object as an explicit algebraic number.
...
3
votes
0answers
129 views
Cannot save file
Hello I have a problem in saving files in Mathematica. I can't save not only notebooks but also figures. When I choose to save the notebook it open a window that says:
Mathematica could not find ...
10
votes
2answers
223 views
4
votes
0answers
118 views
Strange result from evaluating a Limit expression
When I evaluate the limit of (1-Cos[x]) Sin[1/x] at x = 0 in Mathematica 9, I obtained ...
8
votes
0answers
103 views
Help bogged down at first query
When I open help at the first time in a mathematica session and I submit a query it always get bogged down for many seconds until a message appears as in the picture. Then I select continue waiting, I ...
27
votes
3answers
398 views
No warning when extrapolating with Plot
One of the most annoying "features" of Mathematica is that the Plot family does extrapolation on InterpolatingFunctions without ...
14
votes
1answer
220 views
Why does LogLinearPlot sample its argument outside the specified domain?
I experience a weird bug in the function LogLinearPlot. If the input is an interpolation function, such as the one created like this,
...
7
votes
1answer
71 views
Crash with subsetting TemporalData
The first line gets a single sample path for an M/M/1 queue for time between 0 and 100. No problem, I can plot it, etc.
...
13
votes
1answer
396 views
Unique[] symbol not properly tracked
In a nutshell, why does this work (change y and see how the value updates)
...
2
votes
1answer
151 views
Misaligned DensityHistogram, DistributionAxes & PlotRange
data = RandomReal[NormalDistribution[0.5, 0.1], {10000, 2}];
DensityHistogram[data, PlotRange -> 1, Method -> {"DistributionAxes" -> "Histogram"}]
The ...
11
votes
1answer
493 views
How to work around Mathematica hanging when showing a large SparseArray?
Note: This is fixed in 9.0.1.
In Mathematica 9, if I display any large SparseArray object in the default way (which looks something like ...
3
votes
1answer
105 views
Something wrong with RectangleChart and Tooltip?
Currently I'm working on a diagram showing the merit order of power plants in the Netherlands. On the horizontal axes you see the cumulative power and on the vertical axes you see the costs per MWh. ...
6
votes
0answers
73 views
Mathematica 7: “LessEqual::nord:” error when using NMinimize on a real function
I encounter a problem (Mathematica 7) similar to Strategies to avoid LessEqual::nord in NMinimize? but the advised strategies don't work for me. Also, I get different results with different ...







