Skip to content

Commit 121e265

Browse files
Remove instance variables not used and also transform iv as temporary variables in SVD
1 parent d689214 commit 121e265

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

src/Math-Matrix/PMSingularValueDecomposition.class.st

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -32,15 +32,11 @@ Class {
3232
#name : #PMSingularValueDecomposition,
3333
#superclass : #Object,
3434
#instVars : [
35-
'm',
36-
'n',
3735
'u',
3836
's',
39-
'v',
40-
'signU',
41-
'signV'
37+
'v'
4238
],
43-
#category : 'Math-Matrix'
39+
#category : #'Math-Matrix'
4440
}
4541

4642
{ #category : #'instance creation' }
@@ -50,7 +46,7 @@ PMSingularValueDecomposition class >> decompose: aMatrix [
5046

5147
{ #category : #initialization }
5248
PMSingularValueDecomposition >> initialize: aMatrix [
53-
| symU symV eigenU eigenV diag |
49+
| symU symV eigenU eigenV diag m n |
5450
m := aMatrix numberOfRows.
5551
n := aMatrix numberOfColumns.
5652
symU := aMatrix * aMatrix transpose.

0 commit comments

Comments
 (0)