Wolfram Mathematica is a computer algebra system and programming language from Wolfram Research. Mathematica has its own StackExchange site at http://mathematica.stackexchange.com/

learn more… | top users | synonyms (1)

2
votes
0answers
63 views

Super Resolution in Wolfram Language

An approach to Super Resolution in the Wolfram Language/Mathematica. In effect, large parts of the image that are similar to small parts are shrunk and used to replace them, in doing so ...
2
votes
1answer
740 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: ...
3
votes
1answer
176 views

Nested if conditional in Mathematica

Do you know if and how I can rewrite the code below in a better form for different values of m, k, and ...
1
vote
0answers
554 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. ...
5
votes
1answer
374 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 ...
1
vote
1answer
203 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 ...
4
votes
3answers
350 views

Simplier/shorter implementation of lists' intersection keeping elements' order

I could use function Intersection, but it returns sorted list. That's why I have to do my own, but it looks too big. I hope it could be done shorter. ...