ulab.scipy.linalg
¶
- ulab.scipy.linalg.solve_triangular(A: ulab.numpy.ndarray, b: ulab.numpy.ndarray, lower: bool) ulab.numpy.ndarray ¶
- Parameters:
- Returns:
solution to the system A x = b. Shape of return matches b
- Raises:
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 ¶
- Parameters:
- Returns:
solution to the system A x = b. Shape of return matches b
- Raises:
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