Linear Algebra: How to do LU Decomposition of a matrix using Maple

Опубликовано: 20 Октябрь 2023
на канале: tondekush
308
5

#mathematics #linearalgebra #maple
The goal is to break down a matrix into a permutation, lower triangular, and upper triangular matrix. We then multiply the 3 matrices to get the original matrix.

Maple code:

with(Student[LinearAlgebra]):
M := Matrix([[7, 1, 2], [-1, 0, 1], [-3, 4, 0]])
P, L, U := LUDecomposition(M)
L*~U
Determinant(M)
P . L . U = dot product