Does the Gaussian integral trick work for other functions?