I'm working with the equation Ax=B, where A is sparse, tridiagonal, symmetric and I want to solve it with the odd even reduction algorithm and the block tridiagonal(Block Thomas) algorithm. Is there any matlab code available for these tow algorithms.