spectral_connectivity.transforms.tridisolve#
- tridisolve(d, e, b, overwrite_b=True)[source]#
Symmetric tridiagonal system solver, from Golub and Van Loan p157. .. note:: Copied from NiTime. :param d: main diagonal stored in d[:] :type d: ndarray :param e: superdiagonal stored in e[:-1] :type e: ndarray :param b: RHS vector :type b: ndarray
- Returns:
x – Solution to Ax = b (if overwrite_b is False). Otherwise solution is stored in previous RHS vector b
- Return type:
ndarray