Challenge: Lower-upper Decomposition Algorithm

Code a Python algorithm that generates the lower-upper decomposition of a matrix.

LU Decomposition

Lower-upper (LU) decomposition is the process of factoring an invertible matrix, AA, to a product of a lower triangular matrix, LL, and an upper triangular matrix UU.

A=LUA = LU

Get hands-on with 1200+ tech skills courses.