Function
NumCosmoClusterMassPlCLgsl_f
Declaration [src]
void
nc_cluster_mass_plcl_gsl_f (
const gdouble* p,
gdouble* hx,
gint n,
NcClusterMassPlCL* mszl,
gdouble lnM,
const gdouble* Mobs,
const gdouble* Mobs_params
)
Description [src]
The $\chi^2$ is minimized with respect to the parameters $\ln\left(M_{SZ}/M_0\right)$ and
$\ln\left(M_{L}/M_0\right)$, therefore p = 2 (parameters are the two
transformed mass variables w1 and w2). This function computes the
components of the objective (chi^2-like) vector used by the minimizer.
Parameters
p-
Type:
const gdouble*Number of parameters.
The data is owned by the caller of the function. hx-
Type:
gdouble*Components of the $\chi^2$.
The data is owned by the caller of the function. n-
Type:
gintNumber of elements of the $\chi^2$.
mszl-
Type:
NcClusterMassPlCLA
NcClusterMassPlCL.The data is owned by the caller of the function. lnM-
Type:
gdoubleLogarithm base e of the mass divided by the pivot mass.
Mobs-
Type: An array of
doubleObserved mass.
The data is owned by the caller of the function. Mobs_params-
Type: An array of
doubleObserved mass paramaters.
The data is owned by the caller of the function.