

def test_tridiag_01_lower(self):
    ab = array([[4.0, 4.0, 4.0], [1.0, 1.0, (- 99)]])
    b = array([1.0, 4.0, 1.0])
    x = solveh_banded(ab, b, lower=True)
    assert_array_almost_equal(x, [0.0, 1.0, 0.0])

dataset/ETHPy150Open scipy/scipy/scipy/linalg/tests/test_basic.py TestSolveHBanded.test_tridiag_01_lower/original