# Questions tagged [order]

The tag has no usage guidance.

54 questions
Filter by
Sorted by
Tagged with
1 vote
50 views

### How to improve the efficiency of NIntegrate on complicated functions?

When solving a problem by Matlab and Mathematica both, I find the speed of NIntegrate are far less than dblquad when calling ...
• 91
1 vote
57 views

### KSetPartitions function with fixed points

I'm trying to develop a function that computes some numerators for scattering amplitudes and I need to generate a collection of tree diagrams that contain a set of particles (effectively numbers) <...
• 209
68 views

### Visualizing order of operations

TreeForm[HoldForm[ (9-2^2+10 8)/9]] produces this: Is there a way to use Divide instead of ...
• 438
86 views

### Tuples which treats re-ordering as equivalent [duplicate]

I would like to define a new function myTuples, that behaves just like Tuples, except that it treats, as with ...
• 1,249
110 views

### Re-sorting higher-order ordinary differential equations

I have some higher-order ordinary differential equations. Firstly, I want to collect the terms with common factors together. Besides, I want to re-sort the ODE with the highest order term first. How ...
• 301
201 views

### How to order the coordinates generated by ToBoundaryMesh counterclockwise?

The following code works for polygons. A square 4x4 is tried here: ...
61 views

### Double Sum, taking a constant out of the first sum gives a different result

I have a code with the following double sum: Sum[Sum[(-1-k+f[k]) (-l+n+f[l]), {l,k+1,n}], {k,1,n}] /. f[r_] -> If[r == 1, n, 0] With that, I get: I wanted to ...
122 views

### reorder 2-d list according to the second value of each element

I have a nested list with n row and 2 column, its values are numbers, Can I change the order of elements according to the second value?? so every element have in its second value the same value in the ...
• 73
169 views

### How to get multiple solutions ranked in order？

I want to get 10 solutions nearest to 100, however the following code returns too small answers, how can I realize my thought? ...
1 vote
88 views

### Find Order of a Differential Equation (ODE or PDE)

In Mathematica, I need a code in order to find the order of ODEs and PDEs. Here are some examples using different notations: For fifth-order ODE: ...
• 301
85 views

### How to get neighbor lists in the same order/orientation from a periodic IGTriangularLattice[] graph?

Using IGraphM, I want to get the VertexComponent[] neighbors around all nodes, in a periodic IGTriangularLattice[] graph. To do ...
• 1,563
1 vote
76 views

### Rearrange a matrix with new Table Headings-List

I have used a procedure to rearrange my data in a more appropriate way for data analysis such that more similar elements lie next to each other and dissimilar ones far apart. Let's say I have a 5x5 ...
• 53
1 vote
34 views

### Yet Another Expression Ordering Question (not polynomial but transcendental)

Forcing a particular ordering of terms, i.e. overriding Mathematica's, is a recurrent issue, especially for users working within particular domains where there is a particular ordering tradition or ...
• 2,410
1 vote