Wolfram Mathematica is a computer algebra system and programming language from Wolfram Research. Mathematica has its own StackExchange site at http://mathematica.stackexchange.com/
5
votes
1answer
398 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 ...
4
votes
3answers
355 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.
...
2
votes
1answer
779 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:
...
2
votes
0answers
99 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
0answers
625 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.
...
1
vote
1answer
213 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 ...
1
vote
0answers
31 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 ...