Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Calculate the geothmetic meandian of a list of numbers
| ResourceFunction["GeothmeticMeandian"][x1,x2,…] gives the geothmetic meandian of the xi. | |
| ResourceFunction["GeothmeticMeandian"][list] gives the geothmetic meandian of the elements in list. | 
Compute the geothmetic meandian of some numbers:
| In[1]:= | ![ResourceFunction["GeothmeticMeandian"][1, 1, 2, 3, 5]](https://www.wolframcloud.com/obj/resourcesystem/images/859/859e6def-8977-4a20-b5c1-964b86e406c4/72830986507ac1d9.png)  | 
| Out[1]= |   | 
The input can be given as multiple arguments:
| In[2]:= | ![ResourceFunction["GeothmeticMeandian"][1, 1, 2, 3, 5]](https://www.wolframcloud.com/obj/resourcesystem/images/859/859e6def-8977-4a20-b5c1-964b86e406c4/5279b518bd57a0b0.png)  | 
| Out[2]= |   | 
The input can also be given as a list:
| In[3]:= | ![ResourceFunction["GeothmeticMeandian"][{1, 1, 2, 3, 5}]](https://www.wolframcloud.com/obj/resourcesystem/images/859/859e6def-8977-4a20-b5c1-964b86e406c4/1e2d05a3425884aa.png)  | 
| Out[3]= |   | 
The input can also contain complex numbers:
| In[4]:= | ![ResourceFunction["GeothmeticMeandian"][
 RandomComplex[{-1 - I, 1 + I}, 100]]](https://www.wolframcloud.com/obj/resourcesystem/images/859/859e6def-8977-4a20-b5c1-964b86e406c4/738cf4f03074fcaf.png)  | 
| Out[4]= |   | 
Due to the GeometricMean operation, negative numbers can result in complex answers:
| In[5]:= | ![ResourceFunction["GeothmeticMeandian"][{1, 2, 3, -14, 5}]](https://www.wolframcloud.com/obj/resourcesystem/images/859/859e6def-8977-4a20-b5c1-964b86e406c4/526bef31e5e644a7.png)  | 
| Out[5]= |   | 
Sometimes a real result is returned:
| In[6]:= | ![ResourceFunction["GeothmeticMeandian"][{8, 2, -3, -4, 15}]](https://www.wolframcloud.com/obj/resourcesystem/images/859/859e6def-8977-4a20-b5c1-964b86e406c4/52af9a9658269514.png)  | 
| Out[6]= |   | 
Symbolic values are not allowed and will be left unevaluated:
| In[7]:= | ![ResourceFunction["GeothmeticMeandian"][{1, 2, 3, a, 5}]](https://www.wolframcloud.com/obj/resourcesystem/images/859/859e6def-8977-4a20-b5c1-964b86e406c4/61b1a8b4ad18356c.png)  | 
| Out[7]= |   | 
Find the distribution of the geothmetic meandian of 100 random variates of a normal distribution:
| In[8]:= | ![dist = NormalDistribution[];
alldata = ResourceFunction["GeothmeticMeandian"] /@ RandomVariate[dist, {10000, 100}];
ComplexListPlot[alldata, PlotRange -> All]](https://www.wolframcloud.com/obj/resourcesystem/images/859/859e6def-8977-4a20-b5c1-964b86e406c4/1ba6847d294d4ec6.png)  | 
| Out[8]= |   | 
This work is licensed under a Creative Commons Attribution 4.0 International License