Text this: The J-matrix method :