The environmental dependence of the stellar mass function at z similar to 1 Comparing cluster and field between the GCLASS and UltraVISTA surveys uri icon