Open DanielVandH opened 2 months ago
Actually, the LowerTriangular
can be removed, i.e. use L = brand(n, n, 2, 0)
instead, and the issue still shows. So I guess the issue is the UpperTriangular
wrapper on an AlmostBandedMatrix
.
I tried tracing the call enough to find the cause but I can't seem to identify it. Any ideas?
Encountered this case where the performance of multiplication seemed to have really poor scaling:
If I replace the
stats = ...
line with literallystats = @timed Matrix(U) * Matrix(L)
so that all the structure is lost,If I instead keep
stats = @timed U * L
but doAB = Matrix(A + B)
thenIf I do
AB = A + B
, the timing is instant since the multiplication is left lazy.