Questions tagged [sorting]
Questions on the sorting/ordering functions of Mathematica (Sort, SortBy, Ordering, etc.).
442 questions
4
votes
1
answer
150
views
How to Simplify 'unordered' lists of expressions
Say I have a list containing some expressions, for instance
...
0
votes
1
answer
103
views
How to order points in polar coordinates [closed]
I have random data in the polar coordinates and want to arrange them according to $r$ and $\theta$.
This is the desired order
...
1
vote
0
answers
97
views
How to force Mathematica to keep appropriate order? [duplicate]
I am trying to evaluate eigenvalues of the matrix 4x4. The problem is, that when the eigenvalues crosses, Mathematica changes the order and it is differ from its analytical expression.
Here is the ...
4
votes
2
answers
248
views
Multidimensional Taylor expansion: extract function and its derivative and order them properly
From several posts (15023, 31038) we know how to get the multidimensional Series-expansion of a function f
...
0
votes
3
answers
219
views
Having some troubles while sorting
While solving my study problem (I need to programme an algorithm called "slab decomposition") I faced some troubles connected with sorting an array.
So, I have an association array, where a ...
1
vote
0
answers
91
views
Ordering symbolic equation output
I am a newbie to Mathematica and this is my first question on this forum. Thus, I will excuse myself in advance if I am asking a trivial question or if I am not following the correct practices.
Given ...
2
votes
0
answers
187
views
Insights on using the HypergeometricDistribution functions in Mathematica
I'm trying to calculate the upper confidence interval for the hypergeometric distribution in mathematica and I came up with this very simple code.
...
4
votes
2
answers
158
views
Sorting expressions with Sqrt [duplicate]
I get an unexpected output when I do
...
1
vote
3
answers
206
views
How to sort the terms in a polynomial according to their degree?
I have the polynomial
...
4
votes
4
answers
287
views
How to tally a list of lists only by considering the first element of the sub list
We need to Tally a list of lists only by considering the first element of the sub lists and then sort the resulting list.
As a simple example consider
...
1
vote
0
answers
46
views
Can we find (and understand) the ordering functions used in the various output forms?
Can we use (and perhaps even understand) the sorting functions used in the various output forms (such as OutputForm, TraditionalForm, TeXForm, etc...).
This is motivated by the fact that I would like ...
0
votes
2
answers
246
views
How to find curved line in image? [closed]
What's the best way to find smooth curves in an image? I can use EdgeDetect[] to generate a binary image with what looks to my human eye like two distinct smooth curves, and I can get the coordinates ...
2
votes
1
answer
101
views
2
votes
1
answer
146
views
Fastest splitter?
Consider some dataset
...
8
votes
5
answers
416
views
Ordering with repeats
A quick question on list ordering, how can I easily get the ordering of the list, so that, for
{0, Sqrt[3], 2 Sqrt[3], Sqrt[3], 3, 2 Sqrt[3]}
I get
...