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 0ea1ce6 commit b1e3218Copy full SHA for b1e3218
2 files changed
src/Math-Matrix/PMMatrix.class.st
@@ -409,6 +409,12 @@ PMMatrix >> columnAt: anInteger [
409
^ rows collect: [ :each | each at: anInteger ]
410
]
411
412
+{ #category : #'cell accessing' }
413
+PMMatrix >> columnVectorAt: col size: dimension [
414
+
415
+ ^ (self columnAt: col) copyFrom: col to: dimension
416
+]
417
418
{ #category : #iterators }
419
PMMatrix >> columnsCollect: aBlock [
420
"Perform the collect: operation on the rows of the receiver."
src/Math-Matrix/PMQRDecomposition.class.st
@@ -21,7 +21,7 @@ PMQRDecomposition class >> of: matrix [
21
{ #category : #private }
22
PMQRDecomposition >> columnVectorFrom: r startingAt: col [
23
24
- ^ (r columnAt: col) copyFrom: col to: colSize
+ ^ r columnVectorAt: col size: colSize .
25
26
27
0 commit comments