Skip to content

decompositions for Rational matrices #3

Closed
@mlubin

Description

Currently, lu, chol, (\), etc. convert an Array{Rational{Int64},2} to Array{Float64,2} before doing any computation. These should actually compute the decompositions using rational arithmetic. Textbook implementations would likely be fine to start with, since the only possible numerical issues are integer overflow.

Of course it's not always possible to use rational arithmetic. For QR it's pretty reasonable to just convert to floating-point.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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