Skip to main content
25 votes
Accepted

How do I use the new nonlinear finite element in Mathematica 12 for this equation?

OK, there are a few things going on here. Let me explain them in turn. First, as the message suggests, this should be written in Inactive form (we'll get to the why later). If you click on the three ...
user21's user avatar
  • 40k
20 votes
Accepted

How to use the library exported from FunctionCompileExportLibrary outside of Mathematic (e.g., in Visual Studio)?

This is a quick example of calling the exported compiled function from a standalone executable on Windows. A few things to note which are currently undocumented and that can definitely be subject to ...
ilian's user avatar
  • 25.5k
19 votes
Accepted

How to get rid of new default Version 11 and 12 Input/Output fonts -> and keep the traditional Courier font

No need to modify a stylesheet, it is sufficient to evaluate SetOptions[$FrontEnd, StyleHints -> {"CodeFont" -> "Courier"}] or equivalently ...
Alexey Popkov's user avatar
13 votes
Accepted

Vertical ranges of Column in ListLinePlot in 12

There is another new feature in M12.0: GraphicsColumn will now align the frames. You can use this: ...
Szabolcs's user avatar
  • 236k
12 votes
Accepted

Antipodal Land Area Calculation

Yes, this is possible with a little faff. What we want to do is get the RegionUnion of all the countries the antipode intersects with, and then intersect the ...
Carl Lange's user avatar
  • 13.1k
11 votes

How to get rid of new default Version 11 and 12 Input/Output fonts -> and keep the traditional Courier font

Following the lead from J.M., and then some comments therein from User18 and QuantumDot, the following is working: In the common StyleSheet, under Notebook options,...
10 votes
Accepted

Mathematica 12, supported GPUs

Tl;dr Version 12 supports CUDA 10.1, which includes support for Turing Architecture. To download the most updated version, even if you’ve just updated & are having trouble: ...
CA Trevillian's user avatar
10 votes

Possible bug in version 12 in solving the eigensystem

I think you hit an Indeterminate form. ...
Nasser's user avatar
  • 146k
9 votes
Accepted

Provide definition to FunctionCompile

[This is a full rewrite of my original answer] J. Antonio's question points out how FunctionCompile is indeed still in very early experimental stages of development, that something so simple as ...
Bert Sierra's user avatar
9 votes

Benchmarking with Mathematica v.12 for up to date comparison across different machines

A custom machine I built in the summer of 2020. With a "BenchmarkResult" -> 5.037, it seems I did a good job. ...
9 votes
Accepted

Graphics3D rendering artifact (objects that should be obscured are partly visible through a triangle)

This behavior can be turned off through the Graphics3D method option "EdgeDepthOffset" -> False. Some details are ...
Greg Hurst's user avatar
  • 36.3k
9 votes
Accepted

Prime factors with multiplicity

Flatten@*MapApply[ConstantArray]@*FactorInteger
lericr's user avatar
  • 30.2k
8 votes

Benchmarking with Mathematica v.12 for up to date comparison across different machines

I am running an Asus laptop in dual boot mode between Windows 10 Pro and Linux Mint 20.1. I am consistently getting much different results between the two when running the Benchmark in Mathematica 12....
7 votes
Accepted

What rules determine displaying implicit '×' between products of functions in Mathematica 12?

Rough answer: things which are "mathy functions" don't show the the implict times, all others do. Numbers times function or symbols times function don't show the symbol. Two NumberQ things in a row ...
Itai Seggev's user avatar
  • 14.2k
7 votes

New things and limitations in Version 12 numerical differential equation solver?

I test nonlinear FEM using solutions obtained by other methods. I developed one of these methods for the problem of the nature convection, aerodynamics, and unsteady hydrodynamics, using linear FEM - ...
Alex Trounev's user avatar
  • 45.8k
7 votes

How to set the font color of quantity objects (Version 11.3 vs version 12)?

Looks like a bug to me: In version 12.0, the typesetting of Quantity objects in TraditionalForm (which is used for legends in <...
Lukas Lang's user avatar
  • 34.1k
7 votes

Benchmarking with Mathematica v.12 for up to date comparison across different machines

Updated Maybe you need this command. Needs["Benchmarking`"] BenchmarkReport[] I use Gentoo calculate Linux recently, it is faster then previous ...
7 votes

Benchmarking with Mathematica v.12 for up to date comparison across different machines

Eluktronics Thinn-15 laptop: AMD Ryzen 4800H 8-core (2.9-4.2 Ghz), 32 GB DDR4. I've applied the fix for MKL on AMD processors discussed here which led to a 30% speed boost. ...
7 votes
Accepted

Workaround for SparseArray "ExplicitPositions" in version 12.0

There is an undocumented property for SparseArray, namely "NonzeroPositions". If you don't want to modify your whole ...
Domen's user avatar
  • 27.2k
6 votes
Accepted

How to set the font color of quantity objects (Version 11.3 vs version 12)?

To be fully in control of the styling, I would suggest converting the quantity to a number. I suggest replacing Row[{"(", #, , ")"}] with ...
C. E.'s user avatar
  • 70.8k
6 votes
Accepted

Kernel starts up very slowly on Linux

I don’t know if the problem you encountered is the same as the problem described in this post. If the same, you need to disable automatic updates. This failure is caused by the paclet update system. ...
A little mouse on the pampas's user avatar
6 votes
Accepted

Benchmarking with Mathematica v.12 for up to date comparison across different machines

16-inch MacBook Pro (2.3 Ghz Intel i9)
6 votes

Benchmarking with Mathematica v.12 for up to date comparison across different machines

Late 2013 Macbook Pro 2.4ghz i5, 16gb 2400mhz ram, Intel Iris 1536mb ram. ...
6 votes

Benchmarking with Mathematica v.12 for up to date comparison across different machines

ROG laptop, 24 GB (8 GB at 2666 MHz, 16 GB at 3200 MHz both DDR5), GTX 1050 ti running at 3504 MHz i7 7700 HQ cpu @ 2.80 GHz, GTX 1050 ti 4 GB GDDR5 running at 3504 MHz ...
6 votes

Benchmarking with Mathematica v.12 for up to date comparison across different machines

...
6 votes
Accepted

Aligning two molecules in XYZ format, before v12.3

Build your own I can't personally test this in V12, however, the functions I use were introduced in v12, and the OP report this works fine for them. I extract the coordinates using ...
rhermans's user avatar
  • 36.7k
6 votes

Prime factors with multiplicity

For versions prior to v13.1: g = Map[Apply[Sequence]]@*Map[Apply[ConstantArray]]@*FactorInteger or ...
Syed's user avatar
  • 55.6k
6 votes

Prime factors with multiplicity

☺ = Internal`RepetitionFromMultiplicity @* FactorInteger; ☺ @ 120 {2, 2, 2, 3, 5} ...
kglr's user avatar
  • 398k
5 votes

How to use the library exported from FunctionCompileExportLibrary outside of Mathematic (e.g., in Visual Studio)?

As the ilian's answer, I make a note for Visual Studio user here to supplement: source.cpp file ...
5 votes
Accepted

Plot extends beyond given range

The problem is that the callouts need a significant amount of image padding on the right. Typically, you can use PlotRangeClipping->True to eliminate the parts ...
Carl Woll's user avatar
  • 131k

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