1 INTRODUCTION

2 DATA  
2.1 Imaging data  
2.2 CANDELS catalogues

3 CATALOGUE PRODUCTION AND SAMPLE SELECTION  
3.1 Photometry catalogues  
3.2 Photometric redshifts  
3.3 Sample construction  
3.4 Stellar masses

4 GSMF DETERMINATION  
4.1 Number densities  
4.2 Fitting the observed GSMF  
4.3 Eddington bias  
4.4 The intrinsic GSMF  
4.5 Comparison to simulations  
4.6 An evolving fit to the galaxy stellar mass function

5 THE PASSIVE AND STAR-FORMING GALAXY STELLAR MASS FUNCTIONS  
5.1 UVJ selection  
5.2 Schechter function fits  
5.3 The star-forming GSMF  
5.4 The passive GSMF  
5.5 A comparison with the Peng et al. model

6 THE INTEGRATED STELLAR-MASS DENSITY  
6.1 The evolving stellar-mass density of passive galaxies

7 CONCLUSIONS