_cythonized_array_utils.pxd 861 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. cimport numpy as cnp
  2. ctypedef fused lapack_t:
  3. float
  4. double
  5. (float complex)
  6. (double complex)
  7. ctypedef fused lapack_cz_t:
  8. (float complex)
  9. (double complex)
  10. ctypedef fused lapack_sd_t:
  11. float
  12. double
  13. ctypedef fused np_numeric_t:
  14. cnp.int8_t
  15. cnp.int16_t
  16. cnp.int32_t
  17. cnp.int64_t
  18. cnp.uint8_t
  19. cnp.uint16_t
  20. cnp.uint32_t
  21. cnp.uint64_t
  22. cnp.float32_t
  23. cnp.float64_t
  24. cnp.longdouble_t
  25. cnp.complex64_t
  26. cnp.complex128_t
  27. ctypedef fused np_complex_numeric_t:
  28. cnp.complex64_t
  29. cnp.complex128_t
  30. cdef void swap_c_and_f_layout(lapack_t *a, lapack_t *b, int r, int c, int n) nogil
  31. cdef (int, int) band_check_internal_c(np_numeric_t[:, ::1]A) nogil
  32. cdef bint is_sym_her_real_c_internal(np_numeric_t[:, ::1]A) nogil
  33. cdef bint is_sym_her_complex_c_internal(np_complex_numeric_t[:, ::1]A) nogil