File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -409,6 +409,12 @@ PMMatrix >> columnAt: anInteger [
409
409
^ rows collect: [ :each | each at: anInteger ]
410
410
]
411
411
412
+ { #category : #' cell accessing' }
413
+ PMMatrix >> columnVectorAt: col size: dimension [
414
+
415
+ ^ (self columnAt: col) copyFrom: col to: dimension
416
+ ]
417
+
412
418
{ #category : #iterators }
413
419
PMMatrix >> columnsCollect: aBlock [
414
420
" Perform the collect: operation on the rows of the receiver."
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ PMQRDecomposition class >> of: matrix [
21
21
{ #category : #private }
22
22
PMQRDecomposition >> columnVectorFrom: r startingAt: col [
23
23
24
- ^ (r columnAt : col) copyFrom: col to: colSize
24
+ ^ r columnVectorAt : col size: colSize .
25
25
]
26
26
27
27
{ #category : #private }
You can’t perform that action at this time.
0 commit comments