In numpy/scipy, what's the canonical way to compute the inverse of an upper triangular matrix?
The matrix is stored as 2D numpy array with zero sub-diagonal elements, and the result should also be stored as a 2D array.
edit The best I've found so far is scipy.linalg.solve_triangular(A, np.identity(n)). Is that it?
numpy.linalg.invis faster thansolve_triangularfor matrices up to about 40x40. - amcnabb