All Questions

13,257 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
53 votes
1 answer
1k views

Hyperlinks not preserved when saving in PDF format in MMA V10

Bug introduced in 10.0 or earlier and fixed in 11.0.0 I usually create my course contracts in Mathematica and then save them in PDF format. The notebooks include hyperlinks and these have ...
John McGee's user avatar
  • 2,508
47 votes
0 answers
2k views

Fast Spherical Harmonics radiative transfer

This is a rather specific question and I apologize for spamming you with some lengthy code. But it could be interesting for some reader and maybe you can help out, so please bear with me. I am using ...
Markus Roellig's user avatar
43 votes
0 answers
1k views

Performance problems in new Sequence functions

The new-in-10.1 Sequence* family of functions should provide newly optimized methods for handling sequence problems. Happily in some cases they do! For example ...
Mr.Wizard's user avatar
  • 269k
42 votes
0 answers
822 views

Front end goes wild with named slots

Bug introduced in 10 and fixed in 12.1 Assume the following simple expression {#"Test"}& Now go in front of the #...
halirutan's user avatar
  • 112k
37 votes
0 answers
1k views

Changing FrontEnd automatic scrolling in version 8

In Mathematica versions < 8, the FrontEnd has a very intelligent behavior: On evaluation, it by default automatically scrolls down the Notebook window to the last printed Output cell but also ...
Alexey Popkov's user avatar
34 votes
0 answers
758 views

How to design CloudObjects with reasonable CloudCredit costs

Note: I originally thought to post this as a non-answer/extended comment to this question; however I feared that I would end up hijacking the original question. It is likely a duplicate with the ...
bobthechemist's user avatar
34 votes
1 answer
746 views

Benchmarking: unexplained switching between high and low performance

tl;dr I am trying to accurately benchmark some vectorized operations, and compare them between systems. But benchmarking is hard to do well, and I am getting inconsistent results: performance is ...
Szabolcs's user avatar
  • 232k
27 votes
0 answers
2k views

Nonlinear least squares on a GPU with Mathematica 9

Update: A Mathematica wrapper for (https://github.com/zitmen/cuLM) should allow for us to directly implement the Levenberg-Marquardt algorithm in CUDA for nonlinear least squares fitting. In a ...
Bob's user avatar
  • 761
26 votes
0 answers
1k views

ListContourPlot and ListContourPlot3D use better interpolation for arrays of values than for lists of tuples (i.e. {{x,y,z,f[x,y,z]}..}

From reading the documentation, it seems that ListContourPlot3D should work equally well on an array versus a list of tuples, ?ListContourPlot3D ...
Jason B.'s user avatar
  • 67k
26 votes
0 answers
529 views

Compile not correctly initializing a variable defined inside Module

Bug introduced in 8.0, fixed in 10.4, intentionally reintroduced in 11.0 and persisting through 13.0.0 or later In the following example, inside the minimumX's <...
P. Fonseca's user avatar
  • 6,635
26 votes
0 answers
1k views

Kinect on Mathematica

I saw on the internet a lot of nice experiments with Microsoft Kinect. I just bought one and would like to know if someone here has been able to use it with Mathematica. The main idea is to been able ...
Murta's user avatar
  • 26k
25 votes
0 answers
1k views

How would I improve this Karaoke machine code?

I was looking at a large collection of Import/Export user suggestions the other day and it dawned on me that we finally have MIDI import in Mathematica 9, which is rather interesting since MIDI ...
Arnoud Buzing's user avatar
25 votes
1 answer
637 views

LibraryLink: What can we do with MInputStream and MOutputStream?

Version 9 introduced the WolframStreamsLibrary.h header for LibraryLink. It contains MInputStream and ...
Szabolcs's user avatar
  • 232k
24 votes
0 answers
1k views

Mathematica vs. state-of-the-art SAT solvers

I found some fascinating paper by Marijn Heule and Oliver Kullmann on advances in SAT solvers and automated reasoning. In particular, the authors where able to show (a year earlier) a breakthrough ...
Mario Krenn's user avatar
  • 2,122
24 votes
0 answers
1k views

How to use Charting`ScaledTicks?

I found several topics about undocumented ScaledTicks function and tried to use this. Here is the first example: ...
Alx's user avatar
  • 3,592
23 votes
0 answers
405 views

Breaking change of Total in Mathematica 12.0?

Total has been changed in Mathematica 12.0. The documentation seems to contradict itself. In one line it states: Total[ $f[ e_1,e_2,...]$ ] gives the sum of the $e_i$ for any head $f$ In the next ...
dnet's user avatar
  • 943
23 votes
0 answers
339 views

What has changed in pattern matching functions with the Orderless attribute?

Bug introduced in 10.1 and fixed in 11.0(.1) In making an attempt to answer this question, we ran into a version-dependent pattern-matching issue. An extended discussion in the comments transpired, ...
march's user avatar
  • 22.7k
23 votes
0 answers
1k views

LinearSolve and Krylov Method options

I need to solve a large, sparse, linear system. At some point Method -> "Multifrontal" fails and a bit later also "Pardiso" ...
unlikely's user avatar
  • 7,043
22 votes
0 answers
841 views

How to ImageRestyle high-res images?

I’m running v12 now and ImageRestyle[] crashes for me on an image of size 1600 x 1200 pixels. All the examples in the documentation use images around 500 x 500 or ...
M.R.'s user avatar
  • 31k
22 votes
0 answers
587 views

Calling Sage functions from Mathematica

I recently found a very useful open-source math software called Sage, which provides many useful functions lacking in Mathematica. Since I'm more used to the Mathematica language instead of the ...
hxiao's user avatar
  • 867
21 votes
0 answers
674 views

Implementing Contextual Bandits

The multi-armed bandit problem (MAB) is a classic in Reinforcement learning. Now that Mathematica version 12 finally has support for Reinforcement learning: Here's a nice "mnist example" for training ...
M.R.'s user avatar
  • 31k
21 votes
0 answers
400 views

Internal`Bag memory usage

1. How does Internal`Bag handle memory inside a compiled function? (examples below) 2. Is there a way to explicitly free up memory used by ...
aardvark2012's user avatar
  • 5,404
21 votes
0 answers
2k views

Convert Mathematica graphics to TikZ?

Is there a package to convert Mathematica graphics to TikZ code (for inclusion in LaTeX source files)? Such a package, dated 2016-01-30, is described at http://library.wolfram.com/infocenter/...
murray's user avatar
  • 11.7k
20 votes
0 answers
336 views

Changes to Coefficient function in v10.2

In the version Mathemaica 10.4, I am very surprised that the core function Coefficient has changed, e.g., ...
Orders's user avatar
  • 1,227
20 votes
0 answers
219 views

Status of all Evaluators?

Since I have 4 cores on my machine I typically have 4 notebooks open each with their own kernel evaluator. I'd like to construct a dynamic pane similar to the parallel kernels status window: But that ...
M.R.'s user avatar
  • 31k
20 votes
0 answers
251 views

Inconsistent handling of Dynamic option values; intended, omission, or bug?

In answering Dynamic ClipPlanes calculated from current ViewPoint Kuba and I got into a brief exchange regarding how Option values wrapped in Dynamic should be ...
Mr.Wizard's user avatar
  • 269k
20 votes
0 answers
480 views

Bug with Tooltip and ListPointPlot3D

Bug introduced in 10.0.0 and persisting through 11.2.0. Fixed in 11.3. The coordinates of a point in a three dimensional graph can be shown in a tooltip: ...
Fred Simons's user avatar
  • 10.1k
20 votes
1 answer
563 views

How to connect to an already running interactive Python session?

As Mathematica has the interoperability with Python since M11.2, with major improvements in M12.0, is it possible to connect to already running interactive Python sessions? For example, can we connect ...
sunt05's user avatar
  • 4,317
19 votes
0 answers
234 views

Why the Callout option makes plotting performance poor

Bug introduced in 11.0 and fixed in 11.1 The Callout option is a new option for plotting, but the performance is very poor, see bellow testing case. ...
Jerry's user avatar
  • 2,399
19 votes
0 answers
1k views

Find the Panda and the Cat - Dudolf puzzle

I recently find this puzzle where you have to find the panda from a group of snowmen. Having a horrible eyesight I have to take help of mathematica to find it. I start with assumption that all ...
Sumit's user avatar
  • 15.8k
19 votes
0 answers
269 views

Current (e.g., ca. 2016 / MMa 10 / WP 4+) best practices for embedding interactive content in WordPress?

My strategy, in the past, has been to embed interactive CDF files into my WordPress blog for student's to use (Much like the Wolfram Demonstration Project). As many know 1) the 'Plug in' ...
flip's user avatar
  • 1,800
19 votes
0 answers
2k views

Using TetGen in Mathematica to get 3D Voronoi diagram

In this post, the use of TetGen for 3D Voronoi tesselation has been briefly discussed. However there is still no info about the use of TetGen to generate a 3D Voronoi diagram. The TetGen documentation ...
Rainer's user avatar
  • 2,841
19 votes
0 answers
1k views

How to protect existing MathLink connection from disconnecting

I am developing an application that consists of a Mathematica package and an external Java program. The purpose of the application is to read streamed data from a port and update a variable in the ...
Adam's user avatar
  • 191
18 votes
0 answers
261 views

New Needs alias - How to make autocomplete works

Mathematica 13 has a cool new feature for Needs. Now it's possible to use alias: Here is a simple doc example: The problem is, the autocomplete do not work for ...
Murta's user avatar
  • 26k
18 votes
0 answers
300 views

How to design re-usable sub-modules?

There was a recent question asking about how to design modular packages: Declaring Package with dependencies in multiples files? This is an important issue for which unfortunately there is no One ...
Szabolcs's user avatar
  • 232k
18 votes
0 answers
495 views

Where are my Cloud Credits going?

In less than a month I've used 5k cloud credits (half of my quota) and all I did was deploying a bunch of static notebooks with ...
Yaroslav Bulatov's user avatar
18 votes
0 answers
425 views

Strategies to find curves on messy data using FindCurvePath

I have a set of data points that correspond to roots of a transcendental equation with respect to a parameter (the abscissa) which, by the properties of the system, define continuous curves (might be ...
Pragabhava's user avatar
  • 1,599
18 votes
0 answers
623 views

C Code generated from Mathematica not working?

I am a .Net developer. I'm trying to build a Visual C++ application using C code generated from Mathematica (by another person). I don't have Mathematica installed on my machine. When I try to compile ...
pag's user avatar
  • 181
17 votes
0 answers
582 views

Neural Network Automatic Differentiation ("Autograd")

Automatic differentiation methods in general have been the topic of past questions, but this is specifically about automatic differentiation of neural networks. The motivation is an old but useful ...
Joshua Schrier's user avatar
17 votes
1 answer
2k views

From where to learn finite element method?

Can anyone reccomend me a book or site for learning finite element method with mathematica, besides wolfram language official site, https://reference.wolfram.com/language/FEMDocumentation/tutorial/...
Cro Simpson2.0's user avatar
17 votes
0 answers
304 views

GridGraph[{6,6,6}] crashes—can you reproduce this?

Bug introduced in 11.3 and fixed in 12.0 Occasionally, I see a kernel crash with GridGraph[{6,6,6}]. It is not easy to trigger. Sometimes it may require as many ...
Szabolcs's user avatar
  • 232k
17 votes
0 answers
209 views

Why are delayed definitions in scoping functions NOT documented?

As outlined here, := may be used in scoping constructs like With to give delayed definitions, but this is undocumented. This ...
Mr.Wizard's user avatar
  • 269k
17 votes
0 answers
639 views

Mathematica HPC on AWS vs. Azure

I am looking for advice on deploying Mathematica for HPC in an on-demand cloud environment. I occasionally have Mathematica projects that require parallel computing and large amounts of RAM. These ...
GraphMan's user avatar
  • 893
17 votes
0 answers
185 views

Issue with undo after copying a string inside a string

Bug introduced in 10.0 and persisting through V11.3 Here's a small but annoying issue related to undo and copying of strings. Steps required to get the problem: Type ...
Kuba's user avatar
  • 136k
17 votes
0 answers
486 views

Strange behaviour of integrals with Cos, Sin, and Exp

Bug introduced in 8.0.4 or earlier and persisting through 13.2.0 During the study of the problem How to solve this integration? I have discovered a strange behaviour of some integrals. I would ...
Dr. Wolfgang Hintze's user avatar
17 votes
0 answers
2k views

Circle with negative radius?

Bug introduced in 9.0 or earlier and fixed in 11.0.0 Why does this work: Graphics[{Circle[{0, 0}, -Pi/4]}] But this doesn't? ...
David's user avatar
  • 14.8k
17 votes
0 answers
258 views

Why does the FrontEnd lose matching of parentheses when we insert quotations?

Bug introduced in V10.0 and resolved in V11.3 (These are guesses. It is likely to have been resolved in an earlier version V11.X, but V11.3 is what I have access to.) I am running Mathematica 10.0....
march's user avatar
  • 22.7k
17 votes
0 answers
256 views

Is Mathematica 10 color managed?

With ColorProfileData Mathematica 10 can handle device-dependent color spaces. However images with embedded color profiles, e.g. ...
Robinaut's user avatar
  • 1,245
17 votes
0 answers
4k views

Threads vs Cores: How many kernels need to launch in parallel Mathematica?

I have a dual-core intel machine. I would like to test how many parallel local kernels should be launch to get the optimized performance. Knowing that the HyperThreading technology of Intel could run ...
Nam Nguyen's user avatar
  • 1,751
17 votes
0 answers
240 views

Is there a convenient/automatic way of uploading a notebook into SE?

This post discusses how to streamline the other way - extracting code from a fragmented and longish SE answer but I imagine a two-way workflow like: Fashion an answer/question in an SE-templated ...
Ronald Monson's user avatar

15 30 50 per page
1
2 3 4 5
266