File tree Expand file tree Collapse file tree 2 files changed +8
-6
lines changed Expand file tree Collapse file tree 2 files changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -253,12 +253,6 @@ PMVector >> normalized [
253
253
^ (1 / self norm) * self
254
254
]
255
255
256
- { #category : #operation }
257
- PMVector >> productWithMatrix: aMatrix [
258
- " Answers the product of aMatrix with the receiver."
259
- ^ aMatrix rowsCollect: [ :each | each * self ]
260
- ]
261
-
262
256
{ #category : #operation }
263
257
PMVector >> productWithVector: aVector [
264
258
" Answers the scalar product of aVector with the receiver."
Original file line number Diff line number Diff line change 1
1
Extension { #name : #PMVector }
2
2
3
+ { #category : #' *Math-Matrix' }
4
+ PMVector >> productWithMatrix: aMatrix [
5
+
6
+ " Answers the product of aMatrix with the receiver."
7
+
8
+ ^ aMatrix rowsCollect: [ :each | each * self ]
9
+ ]
10
+
3
11
{ #category : #' *Math-Matrix' }
4
12
PMVector >> reshapeWithDimensions: dimensionArray [
5
13
You can’t perform that action at this time.
0 commit comments