4.47.1 Top new questions this week

4.47.1.1 Sharing small code snippets
4.47.1.2 InverseTotient[ ]?
4.47.1.3 What are the counterparts in Wolfram to left and right division of a matrix in other programming language, e.g. Julia and MATLAB?
4.47.1.4 How to perform Loop subdivision on a triangle mesh with Mathematica?
4.47.1.5 How to speed up `RotationMatrix`?
4.47.1.6 How to create (Header + Main area + Settings pane) notebook layout
4.47.1.7 MaTeX and \phantom
4.47.1.1 Sharing small code snippets

https://mathematica.stackexchange.com/questions/161269/sharing-small-code-snippets

 
As part of my never-ending goal of getting Mathematica code to be as easily shared as python packages I was recently thinking about how to make code easy to share. 
 
So  what's are some good ways to  ...
 

- asked by b3m2a1 (19 votes), answered by b3m2a1 (13 votes)

4.47.1.2 InverseTotient[ ]?

https://mathematica.stackexchange.com/questions/160949/inversetotient

 
Maple has a function InverseTotient( c ), which returns all those natural numbers $n$ whose Euler totient function $\phi( n ) = c$. Is there an equivalent 
inverse of EulerPhi[ ] in Mathematica? If  ...
 

- asked by Joseph O'Rourke (11 votes), answered by Michael E2 (18 votes)

4.47.1.3 What are the counterparts in Wolfram to left and right division of a matrix in other programming language, e.g. Julia and MATLAB?

https://mathematica.stackexchange.com/questions/161301/what-are-the-counterparts-in-wolfram-to-left-and-right-division-of-a-matrix-in-o

 
Sometimes, to find the inverse of a matrix is a labor-consuming task or even "disgusting", especially when the matrix is "ill". It is said, e.g. in Julia, that the left/right division operation is  ...
 

- asked by Alexander Zeng (10 votes), answered by C. E. (12 votes)

4.47.1.4 How to perform Loop subdivision on a triangle mesh with Mathematica?

https://mathematica.stackexchange.com/questions/161331/how-to-perform-loop-subdivision-on-a-triangle-mesh-with-mathematica

 
Every now and then, the question pops up how a given geometric mesh (e.g. a MeshRegion) can be refined to produce a i.) finer and ii.) smoother mesh. For example, the following triangle mesh from the  ...
 

- asked by Henrik Schumacher (9 votes), answered by Henrik Schumacher (11 votes)

4.47.1.5 How to speed up `RotationMatrix`?

https://mathematica.stackexchange.com/questions/161230/how-to-speed-up-rotationmatrix

 
I frequently run into the situation that I have to apply RotationMatrix to a huge bunch of 3D vectors and angles for numerical computations. On the one hand, the syntax of RotationMatrix forces me to  ...
 

- asked by Henrik Schumacher (9 votes), answered by Henrik Schumacher (15 votes)

4.47.1.6 How to create (Header + Main area + Settings pane) notebook layout

https://mathematica.stackexchange.com/questions/161203/how-to-create-header-main-area-settings-pane-notebook-layout

 
cross-posted in community.wolfram.com 
 
The goal is something like in the picture below. 
 
Basic? I dare you to try to implement it in a manageable, scalable and flexible way. 
 
 
 
Requirements: 
 
The  ...
 

- asked by Kuba (7 votes), answered by Mike Honeychurch (1 vote)

4.47.1.7 MaTeX and \phantom

https://mathematica.stackexchange.com/questions/161219/matex-and-phantom

 
My understanding of the \phantom directive is that it should preserve the sizes of all elements in the expression. But when I try this: 
 
m1 = Inset[MaTeX["\\sqrt{\\phantom{a^2}b}", Magnification ->  ...
 

- asked by Wynne (7 votes), answered by Nasser (12 votes)