Skip to content

Check bands for zeros in lu! and qr! #197

@ctkelley

Description

@ctkelley

Hello again, it seems that qr! thinks it has a method for BandedMatrices,
but the results are incorrect. lu! knows it has no such method and issues
the usual complaint. Example below.

I am trying to figure out how to do a PR for the Float32 issue. This may
take me awhile because I'm still not sure where the problem lives in
your code and have never issued a PR for a project that I'm not seriously
involved with.

-- Tim

julia> B=brand(Float64,10,10,2,2);
julia> b=rand(10,);
julia> c=B\b;
julia> P=qr(B);
julia> d=P\b; norm(d-c)
1.00688e-15
julia> C=copy(B); Q=qr!(C); e=Q\b; norm(e-c)
3.58602e+00

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions