Skip to content

AtSourav/QRdecomp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

QRdecomp

An overly elaborate and mildly humorous package for the QR decomposition of a real matrix.

Requirements: numpy.

Numpy already has a function np.linalg.qr() to do this :/

Usage instructions:

from qrdecomposition_sourav import QRdecomposition as qrd # to import the QRdecomposition class

Class methods are Qmatrix(), Rmatrix(), QR() to return the tuple of the two, FloatingPointErrorOrder() Use help(...) to view the docstrings, they include all details including examples.

The input can be a numpy array or a list of ints or floats, output arrays are always numpy arrays of floats.

Can perform operations on two dimensional matrices, but you can try feeding in higher dimensional matrices.

A consistency check would be to feed in an already upper triangular matrix.

License and copyright

© Sourav Sarkar

Licensed under the MIT License

About

QR decomposition of matrices

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages