We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 103e9d4 commit 01271c9Copy full SHA for 01271c9
src/eigen.jl
@@ -170,13 +170,8 @@ end
170
v11 = v11 / n1
171
v12 = a[3]' / n1
172
173
- v21 = vals[2] - a[4]
174
- n2 = sqrt(v21' * v21 + a[3]' * a[3])
175
- v21 = v21 / n2
176
- v22 = a[3]' / n2
177
-
178
- vecs = @SMatrix [ v11 v21 ;
179
- v12 v22 ]
+ vecs = @SMatrix [ v11 -v12' ;
+ v12 v11' ]
180
181
return Eigen(vals, vecs)
182
end
@@ -194,13 +189,8 @@ end
194
189
195
190
v12 = a[2] / n1
196
191
197
198
- n2 = sqrt(v21' * v21 + a[2]' * a[2])
199
200
- v22 = a[2] / n2
201
202
203
192
193
204
205
return Eigen(vals,vecs)
206
0 commit comments