Traktor/myenv/Lib/site-packages/sklearn/utils/_heap.pxd

15 lines
256 B
Cython
Raw Normal View History

2024-05-26 05:12:46 +02:00
# Heap routines, used in various Cython implementations.
from cython cimport floating
from ._typedefs cimport intp_t
cdef int heap_push(
floating* values,
intp_t* indices,
intp_t size,
floating val,
intp_t val_idx,
) noexcept nogil