We are given the numbers $a_1,a_2,\ldots,a_N$, where $a_i \in [0,1]~\forall ~i$ and $a_1\leq a_2 \leq ....\leq a_N$.
I wish to scale the numbers $a_i|_{i=1}^N$ in a way that I will get the numbers $\tilde a_1, \tilde a_2, \ldots,\tilde a_N$ with $\tilde a_1+\ldots+\tilde a_N=1$. Is there any famous approach regarding this question?
Thanks