Constructor
NumCosmoXcorKernelAnalyticMultinew
Declaration [src]
NcXcorKernelAnalyticMulti*
nc_xcor_kernel_analytic_multi_new (
NcDistance* dist,
NcmPowspec* ps,
NcmVector* chi_mean,
NcmVector* chi_sigma,
NcmVector* weight,
gdouble n_sigma
)
Description [src]
Creates a new NcXcorKernelAnalyticMulti. The three vectors must have the
same length.
Parameters
dist-
Type:
NcDistanceA
NcDistance.The data is owned by the caller of the function. ps-
Type:
NcmPowspecA
NcmPowspec.The data is owned by the caller of the function. chi_mean-
Type:
NcmVectorBump centres $\chi_i$, in Mpc.
The data is owned by the caller of the function. chi_sigma-
Type:
NcmVectorBump standard deviations $\sigma_i$, in Mpc.
The data is owned by the caller of the function. weight-
Type:
NcmVectorRelative bump weights $w_i$.
The data is owned by the caller of the function. n_sigma-
Type:
gdoubleTruncation half-width of each bump, in units of its own $\sigma_i$.
Return value
Type: NcXcorKernelAnalyticMulti
A new NcXcorKernelAnalyticMulti.
| The caller of the function takes ownership of the data, and is responsible for freeing it. |