LinearAlgebra.jl
LinearAlgebra.jl copied to clipboard
I'm not sure whether this is a bug or intentional, but the handling of non-square `AbstractQ` is rather inconsistent. ```julia import LinearAlgebra.QRPackedQ q = QRPackedQ(randn(4,3),randn(3)) size(q) != size(Matrix(q)) size(Matrix(q')) !=...
Are the eigenvectors from `LinearAlgebra.eigen` normalised? Specifically, does the method `eigen(A; permute::Bool=true, scale::Bool=true, sortby) -> Eigen` return eigenvectors which have unit magnitude? If so, please say this in the documentation.
This is breaking, so probably has to wait until 2.0. At that point, can we remove `/(x::Number, v::AbstractVector)`? Its (marginal) utility is outmatched by its potential for confusion for new...
```julia-repl help?> evalpoly evalpoly(x, p) Evaluate the polynomial \sum_k x^{k-1} p[k] ... julia> _evalpoly(x, p) = sum(x^(k-1)*p[k] for k in eachindex(p)) _evalpoly (generic function with 1 method) julia> x =...
This seems wrong: ```jl julia> muladd(zeros(2,2), zeros(2,2), 3) 2×2 Matrix{Float64}: 3.0 3.0 3.0 3.0 ``` It's not clear that `muladd(X, Y, z)` should even be defined when `z` is a...
to be applied after / on top of https://github.com/JuliaLang/julia/pull/55318
I find it odd that `bitarray` is not tested at all. https://app.codecov.io/gh/JuliaLang/LinearAlgebra.jl/blob/master/src%2Fbitarray.jl After some searching, the corresponding tests are currently in `julialang/julia` https://github.com/JuliaLang/julia/blob/d269d7d375827a0279dc1fee7bb24c9418f06f03/test/bitarray.jl#L1644-L1705 We might migrate them over here.
Would that be possible to do it? We already have something like `ishermitian`.
To reproduce: ```julia julia> using Unitful julia> using LinearAlgebra julia> matrix = rand(4, 3) .* u"kg" 4×3 Matrix{Quantity{Float64, 𝐌, Unitful.FreeUnits{(kg,), 𝐌, nothing}}}: 0.903809 kg 0.857622 kg 0.815957 kg 0.959174 kg...
Hello! Is there a specific reason why an LU decomposition with full pivoting is not implemented? LAPACK provides this through the `getc2` routine [see here](https://www.netlib.org/lapack//explore-html/d8/d4d/group__getc2.html). Is it worth adding this...