# Questions tagged [algorithm]

Questions about algorithms used or which might be used to implement a procedure known by name or loosely but not in detail. The subject of the question may be a procedure mentioned in the literature or a Mathematica built-in function

326 questions
Filter by
Sorted by
Tagged with
1answer
40 views

### Algorithm to switch from one to two gaussian fit

I have a big dataset that I have to fit with one or two gaussians. This dataset represents the evolution of a population in two different population as a function of time. That means that at same ...
1answer
173 views

Writing: ...
3answers
254 views

3answers
248 views

### Find all spanning tree in a given graph

Is there a way I can generate all the spanning tree in the following graph: Also, is there a way to insert the adjacency matrix, then I get an output of all possible spanning trees? The adjacency ...
0answers
57 views

### trouble implementing a simple algorithm for solving the DLP

I have some trouble implementing a simple algorithm for solving the DLP in F_p^* using Mathematica. The algoritm should look as follow: ...
1answer
140 views

### Code for a color bucket fill (seed fill) of a bounded irregular area?

In images like the one shown here, I would like to be able to pick an x,y coordinate and fill the bounded interior with a specified color. That functionality is well known in PhotoShop and GIMP, but ...
0answers
47 views

### Fortune's Algorithm (Conditional Step Size in Manipulate)

I am trying to implement Fortune's Algorithm. Here is my code so far. ...
0answers
75 views

### How to show recursive computation graphically?

I am studying the book "Computer Science with Mathematica" from R. Maeder. The following piece of code solves the Knapsack Problem recursively: ...
0answers
30 views

### Recursive algorithm taking too long

I'm trying to determine the impulse response of a digital filter using the differences equation. However Mathematica is not being able to compute this easily taking way too long. For what I read this ...
2answers
223 views

### Generate random lines that don't be too crowded between the intersections

It's easy to generate random lines, such as this ...
0answers
78 views

### What's going on in this Newton-Raphson algorithm?

I'm looking at this post, over on Mathematics SE. I'll summarize here: A signal with a known velocity, c is emitted by some source. We're given the coordinates of ...
0answers
27 views

### Diagonalization of Hermitian Matrices vs Unitary matrices

What are the differences involved in diagonalization of large Hermitian matrices and Unitary matrices? (>5000 x 5000) Mathematica seems to diagonalize Hermitian matrices almost 20 times as fast as ...
0answers
61 views

0answers
105 views

### Mathematica's algorithm for FindIndependentEdgeSet? [closed]

Documentation does not mention about algorithm. My guess is Blossom algorithm because I do not know of any better one. Posting it with hope that someone might know it for sure.
1answer
74 views

### Creating pairs of non-intersecting set from a given set

Let's say I have a set {a,b,c,d} and I want to create a list of pairs {{a,b,c,d},{}},{{a,b,c},{d}},{{a,b,c},{}},... such that there is no intersection between each pair, and they do not need to use ...
0answers
52 views

### How does Mathematica find the process parameter? [closed]

I want to know what kind of algorithm is used by Mathematica's Estimated Process. For example, we can estimate the parameter as follows: ...