Hi. There's no primitive, but perhaps you can do:
var inv_gamma = function (shape, scale) {
return 1 / gamma(shape, 1 / scale);
};
I'm basing that on one of the laws here:
I'm not 100% sure what I've done is correct, but it seems that something along these lines will likely work.