Inzynierka/Lib/site-packages/sklearn/utils/_heap.pxd

15 lines
251 B
Cython
Raw Normal View History

2023-06-02 12:51:02 +02:00
# Heap routines, used in various Cython implementations.
from cython cimport floating
from ._typedefs cimport ITYPE_t
cdef int heap_push(
floating* values,
ITYPE_t* indices,
ITYPE_t size,
floating val,
ITYPE_t val_idx,
) nogil