Chris Rackauckas
2016-09-27 16:08:15 UTC
Why doesn't lufact return Triangular Matrices?
A = rand(1000,1000)
B = lufact(A,Val{false})
C = B[:U]
D = Base.LinAlg.UpperTriangular(B[:U])
The returned C is just a normal 1000x1000 array, not the same as D. I know
there isn't a storage advantage to using Triangular matrices, but it seems
there's a speed benefit to using Triangular matrices (for example I checked
D*D instead of C*C), and maybe further improvements to Triangular matrices
could be made after the array buffer implementation.
A = rand(1000,1000)
B = lufact(A,Val{false})
C = B[:U]
D = Base.LinAlg.UpperTriangular(B[:U])
The returned C is just a normal 1000x1000 array, not the same as D. I know
there isn't a storage advantage to using Triangular matrices, but it seems
there's a speed benefit to using Triangular matrices (for example I checked
D*D instead of C*C), and maybe further improvements to Triangular matrices
could be made after the array buffer implementation.