File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -253,12 +253,6 @@ PMVector >> normalized [
253253 ^ (1 / self norm) * self
254254]
255255
256- { #category : #operation }
257- PMVector >> productWithMatrix: aMatrix [
258- " Answers the product of aMatrix with the receiver."
259- ^ aMatrix rowsCollect: [ :each | each * self ]
260- ]
261-
262256{ #category : #operation }
263257PMVector >> productWithVector: aVector [
264258 " Answers the scalar product of aVector with the receiver."
Original file line number Diff line number Diff line change 11Extension { #name : #PMVector }
22
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+
311{ #category : #' *Math-Matrix' }
412PMVector >> reshapeWithDimensions: dimensionArray [
513
You can’t perform that action at this time.
0 commit comments