For example, I have vector N. Sum of elements of this vector should be equal to 1. In the same time each element should not be less than 0 and greater than 1.
I tried thi