I need to create kind of the inversed ratio. What i mean:
Let's say there are the numbers 1,1,2 the ratio is 0.25,0.25,0.5. The sum of the ratio is of course 1. But i want the "inversed" ratio so the small numbers become great and great numbers become small. It still needs the sum of 1. so 1,1,2 becomes 0.375,0.375,0.25
I tried around a bit and came to this algorithm: picture of algorithm (mistake: should be 0.375,0.375,0.25)
Can i simlify the algorithm to a mathmatical expression somehow? And had this "inversed" ratio special name so i do a search for it?