CosmoBolognaLib
Free Software C++/Python libraries for cosmological calculations
ModelFunction_NumberCounts2D_RedshiftMass.h
Go to the documentation of this file.
1 /********************************************************************
2  * Copyright (C) 2016 by Federico Marulli and Alfonso Veropalumbo *
3  * federico.marulli3@unibo.it *
4  * *
5  * This program is free software; you can redistribute it and/or *
6  * modify it under the terms of the GNU General Public License as *
7  * published by the Free Software Foundation; either version 2 of *
8  * the License, or (at your option) any later version. *
9  * *
10  * This program is distributed in the hope that it will be useful, *
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of *
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
13  * GNU General Public License for more details. *
14  * *
15  * You should have received a copy of the GNU General Public *
16  * License along with this program; if not, write to the Free *
17  * Software Foundation, Inc., *
18  * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
19  ********************************************************************/
20 
34 #ifndef __MODFUNCNCRM__
35 #define __MODFUNCNCRM__
36 
38 
39 
40 // ============================================================================
41 
42 
43 namespace cbl {
44 
45  namespace modelling {
46 
47  namespace numbercounts {
48 
63  std::vector<std::vector<double>> mass_function_redshift_mass (const std::vector<double> redshift, const std::vector<double> mass, const std::shared_ptr<void> inputs, std::vector<double> &parameter);
64 
79  std::vector<std::vector<double>> number_density_redshift_mass (const std::vector<double> redshift, const std::vector<double> mass, const std::shared_ptr<void> inputs, std::vector<double> &parameter);
80 
95  std::vector<std::vector<double>> number_counts_redshift_mass (const std::vector<double> redshift, const std::vector<double> mass, const std::shared_ptr<void> inputs, std::vector<double> &parameter);
96 
97  }
98  }
99 }
100 
101 #endif
Global functions to model number counts of any type.
std::vector< std::vector< double > > mass_function_redshift_mass(const std::vector< double > redshift, const std::vector< double > mass, const std::shared_ptr< void > inputs, std::vector< double > &parameter)
compute the mass function as a function of the mass and redshift
std::vector< std::vector< double > > number_counts_redshift_mass(const std::vector< double > redshift, const std::vector< double > mass, const std::shared_ptr< void > inputs, std::vector< double > &parameter)
compute the number counts as a function of the mass and redshift
std::vector< std::vector< double > > number_density_redshift_mass(const std::vector< double > redshift, const std::vector< double > mass, const std::shared_ptr< void > inputs, std::vector< double > &parameter)
compute the number density as a function of the mass and redshift
The global namespace of the CosmoBolognaLib
Definition: CAMB.h:38