Coder Social home page Coder Social logo

bobford / qr-factorization-extended-precision-arithmetic Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 8 KB

QR factorization of complex matrix using software extended precision floating point.

Java 100.00%
extended-precision qr-factorization complex-matrix software-floating-point

qr-factorization-extended-precision-arithmetic's Introduction

QR-factorization-extended-precision-arithmetic

    This app uses high precision arithmetic in software to implement a QR factorization of a complex matrix.
    The high precision arithmetic software library is from:
        http://www.apfloat.org/apfloat_java/
    The computation of the Householder vector follows the definition given in:
        http://arith.cs.ucla.edu/publications/House-Asil06.pdf
    While this does give the correct answer, compared to a simple Java version, I don't consider it particularly
    useful because of the time consumed in the software implementation of arithmetic operations. For example,
    running on a 2019 variety mobile phone the execution times for a 192x120 matrix are:
        extended precision:         60 seconds
        Java double precision:      100 milliseconds
        Arm64 assembly:             3.5 milliseconds
    If the matrices were very large, where 64 bit floating point was inadequate, a parallel implementation
    would be necessary.
    These results are in contrast to a backsolve operation where complex matrices as small as 64x64 start to
    benefit and are required at size 128x128.

qr-factorization-extended-precision-arithmetic's People

Contributors

bobford avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.