ulab.scipy.linalg
¶
- ulab.scipy.linalg.solve_triangular(A: ulab.numpy.ndarray, b: ulab.numpy.ndarray, lower: bool) ulab.numpy.ndarray ¶
- Paramètres:
- Renvoie:
solution to the system A x = b. Shape of return matches b
- Lève:
TypeError – if A and b are not of type ndarray and are not dense
ValueError – if A is a singular matrix
Solve the equation A x = b for x, assuming A is a triangular matrix
- ulab.scipy.linalg.cho_solve(L: ulab.numpy.ndarray, b: ulab.numpy.ndarray) ulab.numpy.ndarray ¶
- Paramètres:
- Renvoie:
solution to the system A x = b. Shape of return matches b
- Lève:
TypeError – if L and b are not of type ndarray and are not dense
Solve the linear equations A x = b, given the Cholesky factorization of A as input