Class

NumCosmoMathSphereNN

Description [src]

final class NumCosmoMath.SphereNN : GObject.Object
{
  /* No available fields */
}

An re-implementation of Healpix.

NN pixalization/manipulation algorithms, Ylm decomposition.

Ancestors

Constructors

ncm_sphere_nn_new

Creates a new NcmSphereNN for a given nobjs.

Functions

ncm_sphere_nn_clear

If snn is not NULL, decreases the reference count of snn. When its reference count drops to 0, the object is finalized (i.e. its memory is freed). Set snn to NULL.

Instance methods

ncm_sphere_nn_dump_tree

Print to the standard output the tree structure of snn.

ncm_sphere_nn_free

Decreases the reference count of snn. When its reference count drops to 0, the object is finalized (i.e. its memory is freed).

ncm_sphere_nn_get

Get the object i of snn.

ncm_sphere_nn_get_n
No description available.

ncm_sphere_nn_insert

Set the object i of snn to the given theta and phi.

ncm_sphere_nn_insert_array

Inserts an array of objects in snn.

ncm_sphere_nn_knn_search
No description available.

ncm_sphere_nn_knn_search_distances

Computes the k nearest neighbors of the target point (theta, phi) and stores the distances and indices in distances and indices, respectively. The distances are Euclidean distances in the 3D space squared. The output distances are sorted in ascending order and are squared. The output indices are sorted in the same order as the distances.

ncm_sphere_nn_knn_search_distances_batch

Computes the k nearest neighbors of the target point (theta, phi) and stores the distances and indices in distances and indices, respectively. The distances are Euclidean distances in the 3D space squared.

ncm_sphere_nn_rebuild

Rebuild the snn or build it if it is empty.

ncm_sphere_nn_ref

Increases the reference count of snn.

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Signals

Signals inherited from GObject (1)
GObject::notify

The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

Class structure

struct NumCosmoMathSphereNNClass {
  GObjectClass parent_class;
  
}

No description available.

Class members
parent_class: GObjectClass

No description available.