Constructor

NumCosmoMathStatsDistVKDEnew

Declaration [src]

NcmStatsDistVKDE*
ncm_stats_dist_vkde_new (
  NcmStatsDistKernel* sdk,
  NcmStatsDistCV CV_type
)

Description [src]

Creates a new NcmStatsDistVKDE 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: NcmStatsDistVKDE

The newly created NcmStatsDistVKDE object.

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