I have two input variables, let's call them x and y, which are the inputs to a function. There is a condition for these two inputs: x+y must be equal to or less than 1. So, my input space would look like this:
I have a python package that can select a random point in an input space (it does more but just to make it simple, let's say just select a random point), but it only accepts rectangular bounds for input space. So, I need an input space like:
I wonder how I can select a point in the second input space and transform the selected point by a mathematical formula to the first input space (and vice versa, because I also need to update the python function about selecting the points.)
Do you know, what formulates the desired transformation? I also need to generalize this transformation to more input dimensions (x+y+z <= 1), so if you already know the generalised formula, that would be awesome to share.