All Questions

7,750 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
11
votes
0answers
95 views

What does that output of Sum mean?

I made the computation ClearAll["Global`*"]; r = Sum[1/2^(k*n/(k + n)), {k, 1, 2*n}, Assumptions -> n ∈ Integers && n > 0] and got ...
11
votes
0answers
136 views

Mathematica lexer: Symbols and UTF-8

Did you ever wonder why here on our site, there is a highlighting difference between f[argX_] := 1; and f[argα_] := 1; ...
11
votes
0answers
624 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 ...
11
votes
0answers
156 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 ...
11
votes
0answers
131 views

Clarify when to use Style vs Directive vs List

I am confused about when to use a simple list of style options, the Directive function or the Style function. As shown below, ...
11
votes
0answers
133 views

Code request: Make “copy formatted code” bulletproof

With the GeneralUtilities`PrintDefinitions functions comes a usable code formatting engine. On this site, most of the time we share code. I believe it would be ...
11
votes
0answers
158 views

Alternatives and the Flat attribute

When a head has the attribute Flat then the pattern matcher is able to pick out a sublist of its arguments, even though the structure doesn't match: ...
11
votes
0answers
376 views

How to wrap a crumpled paper over a surface?

My initial question was about the making of a crumpled paper. After reading this article suggested by J.M. and little more browsing (kind of random walk you do on a Saturday) I thought about expanding ...
11
votes
0answers
169 views

Unix-like reference to parent and root Association?

Is there a syntax or function to reference parent and root when querying nested Associations similar to Unix' ".." and "/", eg "cd ../../mydir". ? Here's a typical application of the root construct....
11
votes
0answers
477 views

How to speed up calculations on big symbolic matrices?

this is my first time posting something on a community of the StackExchange platform, so please feel free to correct me if I'm doing something wrong. :) Additionally you should probably know that I'm ...
11
votes
0answers
224 views

Find sequence of sequences?

There is a function FindSequenceFunction in Mathematica, that can identify a sequence of integers based on a few first elements. But what if I have a set of finite ...
11
votes
0answers
393 views

How to read and write data to open socket?

I am trying to open connection with socket. I am using this: ...
11
votes
0answers
297 views

Customized StepSize control in unconstrained gradient-descent optimization

I have a type of minimization problem I frequently solve that involves warping a large 2D triangle-mesh (~25,000 vertices) to fit a model. In the mesh, vertices carry the empirical measurements (each ...
11
votes
0answers
736 views

How to bundle JLink with Java application using apache maven

The context: I am planning to visualize some results from my MMA code using D3.js. So I wanted to make a simple REST api using the light weight SparkJava framework. Given my fairly nonexistent ...
11
votes
0answers
802 views

DSolve returns an answer that is not a solution

Investigating DSolve misses a solution of a differential equation, I came across this odd behavior of DSolve. The following DSolve command returns an answer to the ...
11
votes
0answers
160 views

Mathematica is getting slow when repeatedly calling an external program

I found a strange phenomenon that Mathematica is getting slow when I repeatedly called an external program by using ReadList. For example, the following code will display a significant increase of CPU ...
11
votes
0answers
334 views

Mathematica and POV-Ray workflow: ListContourPlot3D

I have the following function describing a molecular electronic Orbital. ...
11
votes
0answers
322 views

Efficient image stacking

I have a list of lists of images that I would like to stack and create mean images for each list of images. Images are .jpg files 2592x1944 pixels large. Each list ...
11
votes
0answers
278 views

How to make Graphics3D with multiple lighting sources being rendered faster

I have a very "precise"(through setting "SpherePoints") Sphere illuminated by hundreds of random color lighting sources. The ...
11
votes
0answers
337 views

Setting non-standard ImageResolution for EMF export as default

Mathematica has a bug in that BarCharts and ListPlots with Filling will export as a ...
11
votes
0answers
534 views

How to style and position VerticalCallouts and RadialCallouts

Here is a pie chart with a labels placed with a "VerticalCallout" ...
10
votes
0answers
161 views

Workaround for DSolve in V 12 when it gives undefined as solution to 1D heat PDE?

Reported to WRI CASE: 4278450 Comparing the following, all done from clean kernel The strange thing is that V 12 can solve this same PDE without the assumptions ...
10
votes
0answers
154 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++ ...
10
votes
0answers
203 views

Mathematica 12 crashes upon taking the Log of a double series

I recently upgraded from Mathematica 10.4 to 12.0. Unfortunately, I am now experiencing crashes with code that was stable in 10.4. The code involves extensive manipulation of the Series function ...
10
votes
0answers
96 views

What's the difference between these formats?

Unfortunately, the documentation does not give a substantive explanation of the differences between these formats: WDF vs WXF WLNET vs WMLF M vs WL - was answered here: What is the difference between ...
10
votes
0answers
508 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/...
10
votes
0answers
211 views

How to segment rectangular photographs on a table?

Given an image of a table with photographs (take from any angle), I'm trying to extract the photographs and correctly align them into perfect rectangles. There are four steps to the algorithm: Detect ...
10
votes
0answers
113 views

'Visibility' of Dynamics in TabView with respect to SynchronousUpdating

Bug introduced in 11 or earlier and persisting through 12.0.0 CASE:4076464 Example 1 ...
10
votes
0answers
147 views

PatternSequence, Optional and _Symbol

Bug introduced in 9.0 or earlier, partially fixed in 10.1 and persisting through 11.3 [CASE: 4075992] confirmed Note: See (72290) for the fixed part of the bug. Consider the following example: <...
10
votes
0answers
98 views

Why does the kernel quit if I want to use minus a sum that I converted from a list?

Using Mathematica 11 when I define a list yy = {x*43, 32*y}; and then convert it to a sum yy[[0]] = Plus; yy I get, as ...
10
votes
0answers
431 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 ...
10
votes
0answers
95 views

LibraryLink: How to read from a Mathematica stream in C?

Mathematica has a flexible streams interface. Functions like Read can read from a "stream" that may be backed by a file, pipe, string, network resource, etc. We can ...
10
votes
0answers
283 views

Create vtk file of ParaView from Mathematica [FEM post-processing]

I'm doing FEM in Mathematica and want to visualize the results in Paraview (e.g., create a video of the displacement field). Now I have the element mesh, the displacement and stress fields. How can I ...
10
votes
0answers
267 views

Possible Symbolic Integration Bug

Bug introduced between 5 and 8 and persisting through 12.0. I think I may have found a bug, and want to verify is this reproducible in other versions and platforms and not a mistake of mine. I ...
10
votes
0answers
112 views

Compile M11.1-compatible LibraryLink libraries using M11.2

WolframLibraryVersion, defined in WolframLibrary.h, was bumped from 3 to 4 in Mathematica 11.2. This causes libraries compiled ...
10
votes
0answers
173 views

What's the Wolfram Cloud missing?

So I was building myself a quick little home page in Mathematica today and I'm hosting it in the Wolfram Cloud because that's a nice easy thing to do. One thing I was wondering about what standard web ...
10
votes
0answers
104 views

URL functions overload

All these functions seem capable of doing the same things: Import, URLFetch, URLSave, ...
10
votes
0answers
164 views

FindVertexCut & FindEdgeCut

Bug introduced in 9.0 and persisting through 12.0 FindVertexCut is new in 9.0. Note: Before 10.3, the bug can be reproduced by wrapping the first argument in <...
10
votes
0answers
247 views

Creating compiled search TRIE file for argument string completion

I'd like to generate a compiled search TRIE file (like those found in $InstallationDirectory\SystemFiles\FrontEnd\SystemResources\FunctionalFrequency\) to help ...
10
votes
0answers
178 views

Why is 13 the smaller height dimension of a Graphics?

It seems that you cannot get a Graphics image with a height dimension less than 13. Trying to draw something and then asking for ...
10
votes
0answers
121 views

Autocomplete is too greedy with the mouse

I have a frustrating user experience problem in Linux; a common occurrence when using the notebook might go like: I have, for some reason, used the mouse (e.g. to place the cursor) and then move the ...
10
votes
0answers
195 views

Possible Bug with Options in DelaunayMesh

Bug introduced in 10.2 and persisting through 11.1 Update: It turns out after some testing, none of the Options work in ...
10
votes
0answers
286 views

Wrapping text around pasted graphic

I would like to use Mathematica to create all my documents for my high school math class. I cannot, however, find a way to copy and paste a diagram (let's say from Geogebra) and then place it where I ...
10
votes
0answers
891 views

Which IDE do you use for Mathematica development?

After more than a year I revisited the IntelliJIDEA plugin but that still seems to be 'just' an editor, of course there is the Mathematica Workbench but why are there so few improvements? Version 10. ...
10
votes
0answers
596 views

How to generate a random flow graph?

A flow graph is a rooted directed graph that the root reaches all other vertices. I need to generate a random flow graph in Mathematica. My idea is to use ...
10
votes
0answers
206 views

RuntimeTools insight?

Does anyone happen to have some more complete insight into the RuntimeTools package that is used by Debug and Workbench? I ask ...
10
votes
0answers
569 views

J/Link doesn't work with Java 8?

I have some code that successfully uses J/Link (well... until today when something I was doing something with it that crashed the JVM, so), and I recently tried running it under Java 8. I then get a ...
10
votes
0answers
773 views

Dataset in Mathematica 10.0.1

Wolfram pages "Mathematica Quick Revision History" in Mathematica 10.0.1 release says: "New operators and compositions of operators enabled for associations functions such as Dataset and Query" ...
10
votes
0answers
120 views

Is “MaxMessageCount” broken or is its function counter-intuitive?

Behavior remains unchanged through Mathematica version 11.1 As noted by kguler the Front End option: MessageOptions -> "MaxMessageCount" does not appear to have ...
10
votes
0answers
257 views

Check whether a working CCompiler is installed

Let me give a bit background: As many of my answers imply, I often use the auto-parallelization (meaning, that Mathematica distributes the calculation automatically over several cores when list-...

15 30 50 per page