Generalized Euler integrals and A-hypergeometric functions