Method
NumCosmoMathStatsDistprepare_interp
Declaration [src]
void
ncm_stats_dist_prepare_interp (
NcmStatsDist* sd,
NcmVector* m2lnp
)
Description [src]
Prepares the object for calculations. Using the distribution values at the sample points. This function calls the prepare function and prepares the needed objects to compute the least squares problem. The interpolation matrix IM is prepared by a child object and called in this function. Then, depending on the cross validation method, the function solves the least squares problem using the ncm_nnls object.
Parameters
m2lnp-
Type:
NcmVectorA
NcmVectorcontaining the distribution values that will be used to compute the interpolation function.The data is owned by the caller of the method.