I have for different values which are a b c d. Their sum should be always 1
And they can take 0.0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1.0 but the sum always should be 1. and they can take same values too.
I want to print all possible combinations for these 4 variables like that:
And they can take 0.0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1.0 but the sum always should be 1. and they can take same values too.
I want to print all possible combinations for these 4 variables like that:
a, b, c, d = 0.5, 0.2, 0.2, 0.1 a, b, c, d = 1.0, 0.0, 0.0, 0.0 a, b, c, d = 0.5, 0.0, 0.4, 0.1 . . .How can I do that in simplest way?