Skip to content

missing qr(A)' \ b for sparse #115

@stevengj

Description

@stevengj

If A is a sparse matrix, then we get

julia> qr(A)' \ c
ERROR: MethodError: no method matching adjoint(::SuiteSparse.SPQR.QRSparse{Float64,Int64})

It would be nice to have this implemented.

For example, when minimizing
image
(least-square + affine), as discussed on discourse, you need to solve systems with both A and A' so it would be nice to easily re-use the QR factorization.

Another missing method is qr(A'). A workaround is to use qr(oftype(A, A')), but that's a bit annoying.

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