You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
346 B
10 lines
346 B
import numpy as np
|
|
from numpy.typing import NDArray
|
|
from typing import TypeVar
|
|
|
|
# this mimicks the `ctypedef fused lapack_t`
|
|
_LapackT = TypeVar("_LapackT", np.float32, np.float64, np.complex64, np.complex128)
|
|
|
|
def lu_dispatcher(a: NDArray[_LapackT], u: NDArray[_LapackT], piv: NDArray[np.integer],
|
|
permute_l: bool) -> None: ...
|