Method

NumCosmoMathSphereNNknn_search

Declaration [src]

GArray*
ncm_sphere_nn_knn_search (
  NcmSphereNN* snn,
  const gdouble r,
  const gdouble theta,
  const gdouble phi,
  const gint64 k
)

Description

No description available.

Parameters

r

Type: const gdouble

The target radius.

theta

Type: const gdouble

The target theta.

phi

Type: const gdouble

The target phi.

k

Type: const gint64

The number of nearest neighbors.

Return value

Type: An array of long

A GArray with the k nearest neighbors.

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