Function tskit::bindings::tsk_treeseq_get_sample_index_map
source · pub unsafe extern "C" fn tsk_treeseq_get_sample_index_map(
self_: *const tsk_treeseq_t
) -> *const tsk_id_t
Expand description
@brief Get the map of node id to sample index
@rst
Returns the location of each node in the list of samples or
:c:macro:TSK_NULL
for nodes that are not samples.
@endrst
@param self A pointer to a tsk_treeseq_t object. @return Returns the pointer to the array of sample indexes.