All Questions

9,184 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
15
votes
0answers
1k 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? ...
15
votes
0answers
227 views

Is Mathematica 10 color managed?

With ColorProfileData Mathematica 10 can handle device-dependent color spaces. However images with embedded color profiles, e.g. ...
15
votes
0answers
349 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 ...
15
votes
0answers
229 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 ...
14
votes
0answers
275 views

Why is MemoryInUse[] Very Different from the Actual Amount of Memory Being Used?

I call the MemoryInUse[] function, and it outputs about 256 Megabytes. MemoryInUse[] (*255979528*) However, my activity ...
14
votes
0answers
236 views

How to implement graph neural networks in Mathematica?

Graph neural networks are useful for prediction tasks like predicting walks. In python I use DeepGraph typically, but I'm wondering what can be done in the new Version 12. Here's a nice introduction ...
14
votes
0answers
238 views

Dynamic is significantly faster and more responsive with LinkSnooper

I noticed an absolutely bizarre behavior of Dynamic. A simple dynamic module with SynchronousUpdating -> False is ...
14
votes
0answers
523 views

How to plug holes in an Image (with partial convolutions)?

NVIDIA recently published a new way to reconstruct images with holes. They use a new type of convolutional layer which is described in the paper Image Inpainting for Irregular Holes Using Partial ...
14
votes
0answers
342 views

How to use Charting`ScaledTicks?

I found several topics about undocumented ScaledTicks function and tried to use this. Here is the first example: ...
14
votes
0answers
370 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 ...
14
votes
1answer
382 views

Factorize trigonometric matrices

Consider two square matrices $A_1$ and $A_2$. Consider the following matrix involving matrix trigonometric functions: \begin{equation} M_1(t)=\begin{bmatrix} \cos(tA_1) & t\mathrm{sinc}(t A_1) \\ ...
14
votes
0answers
250 views

Bug? Numerical calculation error with FullSimplify and arbitrary precision

Bug introduced after 5.2, fixed in 8.0, reintroduced in 9.0 and persisting through 12.1 Is this a bug? If I do FullSimplify[n E^(0``10 n)] then it returns <...
14
votes
0answers
182 views

WordOrientation does not work in v11?

Bug introduced in 11.0.1 and fixed in 11.1 It seems that WordOrientation does not work in v11. The sample code ...
14
votes
0answers
526 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 ...
14
votes
0answers
461 views

Initial values in Manipulate are hijacked by existing global variable values

Is the following behaviour a bug? It's the same in all versions between 9.0-10.2.0. Let's try this simple Manipulate with the initial value of ...
14
votes
0answers
797 views

Implementation of Partial Least Squares (PLS)?

I'm looking for a PLS implementation for Wolfram Mathematica. I just can't seem to find any implementation for it - do you know one? In general, I'm a bit confused that there exist only so few third-...
14
votes
0answers
271 views

CDF Player - MMA9 - MMA10 oddities

I'm (slowly) building a WordPress site with some didactic simulation made with Mathematica. Users can run the simulations (on-line or off-line) with the free Wolfram CDF Player. One of the last ...
14
votes
0answers
702 views

PenaltyFunction Option in NMinimize

I am curious if anybody has some experience in using the built-in Option "PenaltyFunction" in any of the numerical optimization functions like NMinimize. According to the documentation the user ...
14
votes
0answers
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 ...
14
votes
0answers
332 views

Unexpected design of protection against dynamic content

Introduction/summary I was surprised by the (from my point of view limited) extent to which the user is defended against "potentially unsafe dynamic content" by default. Two things were unexpected ...
14
votes
0answers
473 views

Is it possible to regain Mathematica 5.2's palette input focus behaviour with version 8.0?

Between Mathematica 5.2 and later versions, there has been a change in determining which notebook gets the palette input focus, which leads to quite unfortunate behaviour if you use focus-follows-...
13
votes
0answers
108 views

Reduce[Sin[x]==0,x] splitting odd and even multiples of Pi

as from Title, I'm wondering why Mathematica does not automatically give a single, simple solution for the problem Reduce[Sin[x] == 0, x] for which I obtain the ...
13
votes
0answers
202 views

Call out for a Mathematica benchmark database

Recently I came across with the lack of information about Mathematica performance in different machines, even though there's a benchmark process already implemented, the WolframMark. Data available ...
13
votes
0answers
256 views

Is Tooltip broken in MMA 11.1.1?

Bug introduced in 11.1.0 and persisting through 11.2.0 I have just discovered that Tooltip works differently from as described in the documentation, at least in my ...
13
votes
0answers
291 views

Wolfram new products

Can someone elaborate on the products relating to Wolfram Cloud? They all seem the same. When I login to Wolfram Cloud there's: Wolfram One Wolfram Development Platform Wolfram Programming Lab ...
13
votes
0answers
206 views

Bug: Library functions from older versions of Mathematica may crash in Mathematica 11.1 and conversely

The following is a confirmed bug [CASE:3846875] that turned up in the prerelease 11.1.0 and is not solved in the official release. This is a small example. Execute the following commands in ...
13
votes
0answers
110 views

Why does MapAt unpack individual elements?

(In case this is version specific I am using Mathematica 10.1 under Windows.) While responding to Partition array without unpacking I noticed something about MapAt ...
13
votes
0answers
239 views

Tooltip/EventHandler misaligned with scaled graphics primitives they wrap

Bug introduced in 8.0 or earlier and persists through 11.3 It affects all event based wrappers for affected primitives. E.g. EventHandler. Which makes it a big ...
13
votes
0answers
138 views

Why does GreaterEqual take a long time to evaluate with arrays?

Take the following example: big = RandomReal[1, 10000000]; Head[big >= 0.66] // AbsoluteTiming (* {0.53489, GreaterEqual} *) Why does this take a long time ...
13
votes
0answers
501 views

Is there research about the Mathematica programming paradigm?

There seem to be lots of papers discussing the functional programming paradigm terminology for Haskell, such as monad, category theory, lambda calculus, *morphism, etc. People study concepts and ...
13
votes
0answers
275 views

Slow JoinAcross performance

Bug introduced in 10.3 I am using JoinAcross to combine two datasets, where the key is an Integer. ...
13
votes
0answers
138 views

TableDirections example produces an error message

Bug introduced in 10.0 and fixed in 10.3 Can anyone replicate this? In Mathematica 10.2 on Win 64: TableForm[{{a, b}, {c, d}, {e, f}}, TableDirections -> Row] ...
13
votes
0answers
461 views

Issues adding properties to multigraph

Bug persisting through 12.0 Unsupported Functionality (loosely, a bug) Mathematica (as of 11.0.1 for Mac OS X x86 (64-bit) (September 21, 2016)) does not support multi-graph where edge properties ...
13
votes
0answers
202 views

One less arrow vector than asked for

Bug introduced in 10.0.0 and persisting through 11.0.1 or later Consider the following code: ...
13
votes
0answers
752 views

Interpolation on an unstructured (mostly-structured) grid in 4D+

I frequently need to perform interpolations on an unstructured grid. Mostly, with the purpose of filling grid holes and then later continue with regular grid interpolations. Mathematica V9 and V10 ...
13
votes
0answers
968 views

How to export .mtl files for 3D textured objects

I would really like to deploy my textured 3D graphics in the web with sketchfab in my blog. Unfortunately, Mathematica only exports the shape of the 3d graphics, i.e. the .obj file, but omits the ...
13
votes
0answers
403 views

Can I use symbolic tensors for simple linear algebra and calculus?

As an example, I'd like to calculate this symbolic derivative: $\frac{\partial}{\partial b}(x-A.b)^{\mathsf{T}}.(x-A.b)$ where $x$ and $b$ are vectors and $A$ is a matrix. What I tried is this: <...
13
votes
0answers
310 views

Is there a way to teach integrate new solutions?

I have an integral which I can solve, but integrate cannot: ...
13
votes
0answers
504 views

Proving (self) similarity with Mathematica - Reccurrence Plots, Similarity Plots etc

I posted this question in math.se but given the sheer tumultuous number of questions that keep appearing on math.se and also given that I am trying to accomplish this in Mathematica, I thought I'd ...
12
votes
0answers
250 views

Documentation Creation in Mathematica 12.1

Last year, there was a LiveCEO discussion of refreshing the user-facing documentation creation modules for the next version of Mathematica. Has that made it into the recently released Mathematica 12....
12
votes
0answers
430 views

Why does Mathematica consume so much memory when reading binary data?

There are somewhat similar questions on here, but I didn't find a satisfying answer for this case: I import a 1.7 GB binary data file using the following command: ...
12
votes
0answers
157 views

Continuous integration (CI, software development) with Wolfram Language?

Continuous integration (in the software engineering sense) is a common method to ensure that the code in your repository works as it should after each commit. For example, you can run a set of ...
12
votes
0answers
159 views

Linear programming with lazy constraints

Does Mathematica offer any means for solving linear programming problems with "lazy constraints", as described e.g. here? While I am not very familiar with linear programming, my understanding of the ...
12
votes
0answers
211 views

How to link C++ code through the new compiler in V12?

The Advanced Compilation Topics talk in the WTC 2018 shows that one can easily link C++ code through the new compiler technology. This feature seems very useful as one can easily load existing C++ ...
12
votes
0answers
139 views

Orderless breaks pattern match

Bug introduced in 10.3 or earlier and persisting through 12.0.0 10.0.2 is not affected. I am perplexed by the effect of Orderless on pattern matching. Starting ...
12
votes
0answers
111 views

What changed in String handling between 11.0 and 11.3?

I was trying to optimize some String-handling code here using my standard trick of converting it to a list of bytes first and using basic list operations instead of ...
12
votes
0answers
209 views

Best Practices for Creating CDF e-textbook

I attended a talk given by Eric Schulz a few years ago. It was similar to his talk "Sharing Wisdom Gained from Publishing a CDF Ebook" given here. I am Math instructor and have been creating ...
12
votes
0answers
809 views

What algorithm is Mathematica using to find the smallest eigenvalue so quickly?

My question is what kind of black magic is Mathematica doing to obtain the correct answer so quickly compared to other programming languages? Details: I've written a Mathematica notebook to find the ...
12
votes
0answers
244 views

How can I disable system updates only?

Suppose I'm quite happy with my current Mathematica installation and wish to keep the system in its current form just reliably working. Since there were already at least two cases[1,2] when a lot of ...
12
votes
0answers
181 views

Is ExportString defective in V11?

Mathematica doesn't do the best job of exporting figures with shading or transparency to vector graphics formats such as PDF. A common trick employed here and elsewhere on the web to workaround this ...

15 30 50 per page