Constructor

NumCosmoMathStatsDistKDEnew

Declaration [src]

NcmStatsDistKDE*
ncm_stats_dist_kde_new (
  NcmStatsDistKernel* sdk,
  NcmStatsDistCV CV_type
)

Description [src]

Creates a new NcmStatsDistKDE object using sdk as kernel and CV_type as cross-validation method.

Parameters

sdk

Type: NcmStatsDistKernel

A NcmStatsDistKernel.

The data is owned by the caller of the function.
CV_type

Type: NcmStatsDistCV

A NcmStatsDistCV.

Return value

Type: NcmStatsDistKDE

The newly created NcmStatsDistKDE object.

The caller of the function takes ownership of the data, and is responsible for freeing it.