Basic calculations for geometric programs