doerfler: @ADD: backSubstitution and forwardSubstitution are solution methods for equation systems with a triangular matrix. The algorithm to use depends on the shape of the matrix (upper/lower triangular) and the order of multiplication with the vector.