class_docstr: Functions to return type signatures for wrapped LAPACK functions.
  
  Patterned after https://github.com/numba/numba/blob/bd7ebcfd4b850208b627a3f75d4706000be36275/numba/np/linalg.py#L74
class_docstr_tok: ["Functions","to","return","type","signatures","for","wrapped","LAPACK","functions",".","Patterned","after","https",":","\/\/github.com\/numba\/numba\/blob\/bd7ebcfd4b850208b627a3f75d4706000be36275\/numba\/np\/linalg.py","#","L74"]
docstr: Called by scipy.linalg.cholesky
docstr_tok: ["Called","by","scipy.linalg.cholesky"]
code: def numba_xpotrf(cls, dtype):
      """
      Called by scipy.linalg.cholesky
      """
      lapack_ptr, float_pointer = _get_lapack_ptr_and_ptr_type(
          dtype, "potrf"
      )
      functype = ctypes.CFUNCTYPE(
          None,
          _ptr_int,  # UPLO,
          _ptr_int,  # N
          float_pointer,  # A
          _ptr_int,  # LDA
          _ptr_int,  # INFO
      )
      return functype(lapack_ptr)
  
imports: import ctypes
  import numba
  import numpy
  from numba.core import cgutils, types
  from numba.extending import get_cython_function_address, intrinsic, overload
  from numba.np.linalg import _copy_to_fortran_order, ensure_lapack, get_blas_kind
  from scipy import linalg
  from pytensor.link.numba.dispatch import basic
  from pytensor.link.numba.dispatch.basic import numba_funcify
  from pytensor.tensor.slinalg import BlockDiagonal, Cholesky, SolveTriangular
label_desc: Use image node_id 3 for calling the _LAPACK obj's underlying member method code with example usage: obj.numba_xpotrf(cls, dtype) and returns: functype