3.20.1 Top new questions this week

3.20.1.1 Why (and when) does pattern matching with f[__] perform MUCH more quickly than _f?
3.20.1.2 Getting wrong limit with Bessel
3.20.1.3 Join lists by observing x-value
3.20.1.4 How to distribute Mathematica packages as paclets?
3.20.1.5 Does function call via @ ignore HoldFirst attribute?
3.20.1.6 Graph visualization: Leave gap between vertex and endpoint of edge
3.20.1.7 Help finding the centre of a faint, incomplete circle?
3.20.1.1 Why (and when) does pattern matching with f[__] perform MUCH more quickly than _f?

http://mathematica.stackexchange.com/questions/130984/why-and-when-does-pattern-matching-with-f-perform-much-more-quickly-than

 
Consider this expression in Mathematica 10.3 (and above) on MacOS X: 
 
expr = a b c d e f g h i j k l m n o p q r s t myG[u] myF[a, b] 
 
 
Now compare the time it takes to apply the following  ...
 

- asked by QuantumDot (22 votes), answered by WReach (17 votes)

3.20.1.2 Getting wrong limit with Bessel

http://mathematica.stackexchange.com/questions/130741/getting-wrong-limit-with-bessel

 
I computed a following limit (related to the asymptotic expansion of the sequence A000009 - number of partitions of n into distinct parts) 
 
Expand[Limit[((( BesselI[1, (Sqrt[1/24 + n]  ...
 

- asked by Vaclav Kotesovec (11 votes), answered by Akku14 (9 votes)

3.20.1.3 Join lists by observing x-value

http://mathematica.stackexchange.com/questions/130903/join-lists-by-observing-x-value

 
Hi everybody I have as a small test with two datasets (normally I have 100 datasets with 4100 brackets): 
 
Dataset1={{20,1},{30, 1.3}, {40, 0.4}, {50, 0.9}} 
Dataset2={{30, 1.2}, {40, 1}, {50, 0.4},  ...
 

- asked by Jacccy (10 votes), answered by ubpdqn (13 votes)

3.20.1.4 How to distribute Mathematica packages as paclets?

http://mathematica.stackexchange.com/questions/131101/how-to-distribute-mathematica-packages-as-paclets

 
Mathematica does have a nice package manager.  Packages are called paclets, and they can be managed using the functions from the PacletManager` context. 
 
How can I package up my own packages as  ...
 

- asked by Szabolcs (9 votes), answered by Szabolcs (7 votes)

3.20.1.5 Does function call via @ ignore HoldFirst attribute?

http://mathematica.stackexchange.com/questions/130889/does-function-call-via-ignore-holdfirst-attribute

 
I was trying to test whether using func[x,y] is the same as func[#,y]&@x: 
 
SetAttributes[test, HoldFirst] 
test[1 + 2 - 3, 5 - 5] 
test[#, 5 - 5] &@(1 + 2 - 3) 
 
 
 
test[1 + 2 - 3, 0] 
 
...
 

- asked by Ruslan (8 votes), answered by m_goldberg (9 votes)

3.20.1.6 Graph visualization: Leave gap between vertex and endpoint of edge

http://mathematica.stackexchange.com/questions/130821/graph-visualization-leave-gap-between-vertex-and-endpoint-of-edge

 
This is a nice graph: 
 
g = CycleGraph[4]; 
 
Graph[g, VertexCoordinates -> {{0, 0}, {0, 1}, {1, 1}, {1, 0}}, 
VertexLabels -> Placed["Name", Center], VertexSize -> Medium, 
EdgeShapeFunction  ...
 

- asked by cyrille.piatecki (8 votes), answered by kglr (12 votes)

3.20.1.7 Help finding the centre of a faint, incomplete circle?

http://mathematica.stackexchange.com/questions/130787/help-finding-the-centre-of-a-faint-incomplete-circle

 
so I found a program in the answers to this question that I thought was brilliant, so here it is applied to my situation: I have the image 
 
and here's the code: 
 
...
 
- asked by Mason 8votes