mtl5.mixed.lu_iterative_refine#
- mtl5.mixed.lu_iterative_refine(...)#
Solve A x = b by factoring in
workingprecision and refining with a float64 residual. Returns (x, info).Signatures:
lu_iterative_refine(A: ndarray[dtype=float64, shape=(*, *), order='C', device='cpu', writable=False], b: ndarray[dtype=float64, shape=(*), order='C', device='cpu', writable=False], working: str, max_iter: int = 20, rel_tol: float = 0.0, scaled: bool = False, patience: int = 3) -> tuple[numpy.ndarray[dtype=float64, shape=(*)], dict]