I suspect your best, likely ONLY, option is a multi-dimensional lookup table, and multiple interpolations. The table would be organized either as humidity at constant temperature, or temperature at constant humidity. If pressure is not constant, it gets even more complicated. I doubt the relationships can be easily boiled down to an equation, as there are too many variables, and the relationships are discontinuous, especially at saturation.