Questions tagged [wolfram-mathematica]
Wolfram Mathematica is a computer algebra system and programming language from Wolfram Research. Mathematica has its own StackExchange site at http://mathematica.stackexchange.com/
12
questions
3
votes
0
answers
42
views
Plot of massless particles on the unstable null circular geodesic
My friend and I were trying to reproduce Figure 4(left), page 7, from the paper "Probing phase structure of black holes with Lyapunov exponents", Guo 2022. We succeeded in reproducing the ...
5
votes
0
answers
84
views
Butter side up?
I've written a piece of code that determines if a piece toast with butter lands on the butter-side or not, depending on its initial velocity and the table height.
The code is written in Mathematica ...
5
votes
0
answers
71
views
Simulation of a mechanical arm
The code that I am doing is to simulate a scenario where a mechanical arm search pieces closer and these pieces selected the mechanical arm leaves in a position defined closer.
...
2
votes
1
answer
139
views
Two knot-removal function for curve and surface
Recently, I have been using the Wolfram LibraryLink wrapper. By that technique, I could call the function written in C from Wolfram Mathematica.
Here are two C wrapper functions, ...
23
votes
5
answers
2k
views
Benchmarks of various scientific programming languages for theoretical modelling
For a theoretical modelling course for biology students, I am trying to decide which would be the best technical programming language for doing evolutionary simulations in terms of elegance and ...
4
votes
0
answers
170
views
Super Resolution in the Wolfram Language, Attempt 2
This is a wolfram language program I wrote for super-resolution, in this case meaning to guess at how to increase the the resolution, and so detail shown in a raster image such as a photograph.
It ...
2
votes
0
answers
308
views
Super Resolution in the Wolfram Language
This is a wolfram language program I wrote for super-resolution, in this case meaning to guess at how to increase the the resolution, and so detail shown in a raster image such as a photograph.
It ...
2
votes
1
answer
1k
views
Fill upper triangular matrix from a list
I am looking a good way to fill up the elements of a lower triangular matrix from a list.
I currently have this:
...
4
votes
1
answer
2k
views
Fastest way to find all neighbours of a vertex in a graph
I'm looking for the fastest way to find all neighbours of a vertex in an undirected Graph. Please improve on the code if possible.
...
7
votes
1
answer
492
views
Directed graph similarity calculation -- optimizing Mathematica code
I am looking to optimize the following computation. First, some explanations:
Explanation
I have a directed graph whose adjacency matrix may only contain 1s and 0s. The similarity of nodes i and j ...
2
votes
1
answer
267
views
List of integer factorization into n terms
I want the fastest way in Mathematica 7 to generate a list of the factors (not prime factors) of an integer into a specified number of terms, with each factor greater than one.
For example, 240 into ...
5
votes
3
answers
431
views
Lists' intersection keeping elements' order
I could use the function Intersection, but it returns a sorted list. That's why I have to do my own, but it looks too big. I hope it could be done shorter.
...