Algorithms for matrix iterative methods 2021/2022