physbo.misc.gauss_elim module

physbo.misc.gauss_elim.gauss_elim(L, t)[ソース]

Calculate alpha using scipy.linalg.solve_triangular. alpha = (L^T L)^-1 t = L^-1 [(L^T)-1 t]

パラメータ
  • L ((M, M) array_like) --

  • triangular matrix (A) --

  • t ((M,) or (M, N) array_like) --

戻り値

  • alpha (numpy.ndarray)

  • Solution to the system L^T alpha = t. Shape of return matches t.