Skip to content

Fix of det for singular matrices etc.#1499

Merged
ViralBShah merged 1 commit intoJuliaLang:masterfrom
andreasnoack:fixlu
Nov 4, 2012
Merged

Fix of det for singular matrices etc.#1499
ViralBShah merged 1 commit intoJuliaLang:masterfrom
andreasnoack:fixlu

Conversation

@andreasnoack
Copy link
Member

Fix of det for singular matrices by changing solvers from Lapack to return info parameter for singular systems. Added info parameter to LUDense. Updated code that use the Lapack solvers. Added faster det solutions for triangular matrices. Changed Lapack LU routine getrf to allow rectangular matrices but kept square requirement in Julia's LUDense.

…eturn info parameter for singular systems. Added info parameter to LUDense. Updated code that use the Lapack solvers. Added fester det solutions for triangular matrices. Changes Lapack LU routine getrf to allow rectangular matrices.
ViralBShah added a commit that referenced this pull request Nov 4, 2012
Fix of det for singular matrices etc. Close #1490.
@ViralBShah ViralBShah merged commit 5d2b453 into JuliaLang:master Nov 4, 2012
@andreasnoack
Copy link
Member Author

Thank you for the clarification. I was not aware of that. If there is a better, more efficient and/or more clear way to save part the result tuple please let me know.

By the way. Is there a ref method for tuples missing? I am only able to index a tuple with an Integer or Range1 but not an Array.

Finally, what is the logic behind the use of Matrix and StridedMatrix in linalg_dense? I do not really understant it. lu is defined for Matrix but qr is defined for StridedMatrix etc.

@dmbates
Copy link
Member

dmbates commented Nov 5, 2012

History, I think. I wrote the lu before I knew about StridedMatrix.

@ViralBShah
Copy link
Member

StridedMatrix is a union of Array and SubArray. SubArray makes it possible to do linear algebra operations on a submatrix without creating a temporary. We should update lu to using StridedMatrix too.

ViralBShah added a commit that referenced this pull request Jan 10, 2026
Stdlib: LinearAlgebra
URL: https://github.com/JuliaLang/LinearAlgebra.jl.git
Stdlib branch: master
Julia branch: master
Old commit: b599095
New commit: 0eaade8
Julia version: 1.14.0-DEV
LinearAlgebra version: 1.13.0 (Does not match)
Bump invoked by: @ViralBShah
Powered by:
[BumpStdlibs.jl](https://github.com/JuliaLang/BumpStdlibs.jl)

Diff:
JuliaLang/LinearAlgebra.jl@b599095...0eaade8

```
$ git log --oneline b599095..0eaade8
0eaade8 In-place multiplication of `Diagonal` with OffsetMatrix should throw (#1526)
417e914 Reduce method definitions for cat of `AbstractQ`s (#1500)
653ead1 Make sure inputs to the hemm etc tests are Hermitian  (#1522)
4004db9 fix typos (#1521)
eb007bb Fix GEMM dispatch for complex-real matmul (#1520)
f41bf65 Fix unitful 3-arg `*` (#1499)
24ac8e9 Bump actions/checkout from 5 to 6 (#1518)
2a6f3b7 make eigvals(::Diagonal) accept sortby (#1477)
189d49d Make `dot` consistently return `zero` on empty arrays (#1494)
1c0b673 Ensure inverse of Symmetric{<:,Diagonal} returns same type (#1439)
fa00b3c Fixed typo in matmul.jl (#1492)
21af0af Fix 3-arg `dot` for empty arrays (#1485)
6beb32c Make matmul work with zero-less eltypes (#1488)
```

Co-authored-by: ViralBShah <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants