Skip to main content
21 votes

Error changing Dataset using Part

I have implemented the underlying kernel functionality that is needed to make this possible. However it is not yet implemented on the Dataset side. I don't think this will happen in the immediate ...
Taliesin Beynon's user avatar
15 votes

How to use the Testing Notebook to test a package without shadowing?

What R.M. answer means is that Get as a part of the test will not help. The reason is that the content is parsed before Get is ...
Kuba's user avatar
  • 137k
12 votes

Is this 30% slowdown in Mathematica 10 due to DownValues lookup time?

I realize this answer comes about three years too late, but having come accross the question, here's an answer. The general slowdown that was fixed in 10.1, and that hit Linux particularly hard, was ...
Itai Seggev's user avatar
  • 14.2k
12 votes

How can I define a 3D version of the built-in VoronoiDiagram (VoronoiMesh in V10) function?

Note that there's currently no way to represent a collection of 3D Voronoi mesh cells in a MeshRegion or BoundaryMeshRegion. ...
Greg Hurst's user avatar
  • 36.4k
9 votes

Global context seems to be shared between kernels when using Clear?

If you look at the definition of NotebookEvaluate, by means of Needs["GeneralUtilities`"]; GeneralUtilities`PrintDefinitions[NotebookEvaluate] you see that the ...
Rolf Mertig's user avatar
  • 17.2k
8 votes

How can I define a 3D version of the built-in VoronoiDiagram (VoronoiMesh in V10) function?

Here is another ContourPlot3D[]-based method for generating an approximate Voronoi diagram. The idea is originally due to QuĂ­lez. ...
J. M.'s missing motivation's user avatar
8 votes
Accepted

What is the status of `::usage` and Templates in Mathematica v11?

1) The complete failure of Make Template with formatted usages is fixed in our next release. I can't promise you it will look 100% beautiful in all cases, but the number of templates will match the ...
Itai Seggev's user avatar
  • 14.2k
7 votes
Accepted

Why Mathematica introduced so many bug after version 10

My experience is different. As new versions come out, I think two things happen: Bugs in earlier versions generally (but not always) get fixed. In this sense, as time goes on, the number of bugs ...
wolfies's user avatar
  • 8,732
6 votes
Accepted

Mathematica 10 installs but won't start on Windows 7

This is a problem with Windows 7 build 7600 (the original Windows 7 release). More information can be found here or here, but in a nutshell, the processor supports AVX/FMA3 instructions, while the ...
ilian's user avatar
  • 25.5k
6 votes

Global context seems to be shared between kernels when using Clear?

In addition to Rolf's workaround. This is expected and works the same in V9 and V10. NotebookEvaluate / Details & Options: By default, ...
Kuba's user avatar
  • 137k
6 votes

This code worked so slow on version 10 but not on earlier version

This is an extended comment that constrains the problem a bit. I reported the problem [CASE:4174000] with the following simplified example. Reproducing the problem ...
rhermans's user avatar
  • 36.9k
5 votes

Update Java used by Mathematica 10

You may use ReinstallJava with the CommandLine option. ...
Edmund's user avatar
  • 42.4k
4 votes

GeoGraphics examples not running correctly

I think what happened here is that "PublicLibrary" got split into "LibrarySystem" and "LibraryBranch" databases, only the first of which has the information we need. ...
Jason B.'s user avatar
  • 69.2k
4 votes

Coloring a map of GeoRegions

Here's a map colouring solution using the graph colouring functionality of IGraph/M. Take the countries of Europe: countries = CountryData["Europe"]; Build a ...
Szabolcs's user avatar
  • 236k
3 votes

Can I run more than two kernels simultaneously on my MacBookAir laptop?

You can run as many kernels at the same time as your license allows. Your hardware does not matter. Run ...
Szabolcs's user avatar
  • 236k
3 votes
Accepted

Why does NSolve give different results in different version of Mathematica?

Use Solve and then numericize the result (Root objects) ...
Bob Hanlon's user avatar
  • 160k
3 votes

How to define a formula in FormulaData?

...
rnotlnglgq's user avatar
  • 3,740
3 votes

How can I define a 3D version of the built-in VoronoiDiagram (VoronoiMesh in V10) function?

VoronoiMesh was updated in V 13.1 and now also works in 3D ...
eldo's user avatar
  • 81.5k
3 votes

Mathematica 10 'Formatting Notebook Contents'

Even in Mathematica 12.2 we still see forever "Formatting Notebook Contents" if a cell have huge output. One solution is run this at the beginning of a notebook that cannot open due to this ...
Frank's user avatar
  • 286
3 votes
Accepted

Taking derivative of general order

D[(a x + b)^k, {x, n}] is straightforward: $$a^n k^{(n)} (a x+b)^{k-n}$$ Note: don't use ax when you should use ...
David G. Stork's user avatar
3 votes

URLSave in Mathematica 10 and 11 on Linux

The decisive contribution to pin down the issue came from ilian in his comment to my question. He suggested to check the value of LibraryLink`$LibraryError which ...
vsht's user avatar
  • 3,527
2 votes

Controlling quality of discretized region meshes

This answer is not so much about controlling the quality, but pointing out that Mma v13 introduces constructive solid geometry for some basic primitives such as Ball...
kirma's user avatar
  • 19.1k
2 votes

JSON export truncates numbers to 6 digits of precision

At least in version 11.0.1.0 it is possible to just set SetSystemOptions["MachineRealPrintPrecision"->Round[$MachinePrecision]] without modifying any files. Note ...
fkjogu's user avatar
  • 121
2 votes
Accepted

Minimizing a conditional function with parameters

In versions before M11, maybe you can try something like the following: ...
Carl Woll's user avatar
  • 131k
2 votes

NIntegral first "hit" is not equal to second "hit"

The short answer is that you are not doing numerical calculations right. Your variables must be floats, nut integers which can be achieved by placing a dot in front of your values (e.g. ...
Miladiouss's user avatar
  • 1,883
2 votes

Grid shows next to image, not on actual image, and ImageDimensions are wrong

...
kglr's user avatar
  • 399k
1 vote
Accepted

Running Mathematica 10.3 on OS X 10.13.0 or 10.13.1, High Sierra?

...
Jason B.'s user avatar
  • 69.2k
1 vote

Finding Vertices of a Polygonal Region

In old versions (e.g. 10.4.1), you can use the undocumented function Graphics`PolygonUtils`PolygonComplement[]: ...
J. M.'s missing motivation's user avatar
1 vote
Accepted

Finding Vertices of a Polygonal Region

You obtain the actual region with R = BoundaryDiscretizeRegion[regionDiff, MaxCellMeasure -> 100000] or ...
Henrik Schumacher's user avatar
1 vote

Listing Persons of a Certain Occupation using PersonData

It seems there's no way to access this data in Mathematica 10 without filtering it and resolving your own list. I've produced a list of all basketball players (albeit in several hours) using the ...
jxmorris12's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible