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 [
409409 ^ rows collect: [ :each | each at: anInteger ]
410410]
411411
412+ { #category : #' cell accessing' }
413+ PMMatrix >> columnVectorAt: col size: dimension [
414+
415+ ^ (self columnAt: col) copyFrom: col to: dimension
416+ ]
417+
412418{ #category : #iterators }
413419PMMatrix >> columnsCollect: aBlock [
414420 " 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 [
2121{ #category : #private }
2222PMQRDecomposition >> columnVectorFrom: r startingAt: col [
2323
24- ^ (r columnAt : col) copyFrom: col to: colSize
24+ ^ r columnVectorAt : col size: colSize .
2525]
2626
2727{ #category : #private }
You can’t perform that action at this time.
0 commit comments