Skip to content

lq for AbstractFloat #1535

@RJDennis

Description

@RJDennis

Most of the matrix decompositions in Julia can be applied to matrices with element types that are subtypes of AbstractFloat. For example

A = BigFloat.(rand(3,3))

qr(A)
lu(A)
svd(A)
schur(A)

all work fine. However,

lq(A)

gives a method error because lq() seems to require eltype(A) to be either Float16, Float32, or Float64.

Can the lq() function be generalized so that it can be applied to matrices whose elements are a subtype of AbstractFloat?

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