We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5ce7fa9 commit 2028b3cCopy full SHA for 2028b3c
src/Math-Matrix/PMQRDecomposition.class.st
@@ -26,8 +26,11 @@ PMQRDecomposition >> decompose [
26
q := self initialQMatrix.
27
identityMatrix := PMSymmetricMatrix identity: colSize.
28
1 to: self numberOfColumns do: [ :col |
29
- householderVector := ((r columnAt: col) copyFrom: col to: colSize)
30
- householder.
+ | columnVectorFromRMatrix |
+ columnVectorFromRMatrix := (r columnAt: col)
31
+ copyFrom: col
32
+ to: colSize.
33
+ householderVector := columnVectorFromRMatrix householder.
34
i := (PMVector new: col - 1 withAll: 0) , (householderVector at: 2).
35
q := q
36
*
0 commit comments