Returns the QR decomposition of the given matrix. Equivalent to R's qr function.
Examples:
(use 'incanter.core)
(def foo (matrix (range 9) 3))
(decomp-qr foo)
Returns:
a map containing:
:Q -- orthogonal factor
:R -- the upper triangular factor
References:
http://en.wikipedia.org/wiki/QR_decomposition
http://incanter.org/docs/parallelcolt/api/cern/colt/matrix/tdouble/algo/decomposition/DenseDoubleQRDecomposition.html
Comments top
No comments for decomp-qr. Log in to add a comment.