summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorAlberto Ruiz <aruiz@um.es>2007-10-03 17:25:03 +0000
committerAlberto Ruiz <aruiz@um.es>2007-10-03 17:25:03 +0000
commitebb640befd87b956e97d5b2c854572dc1f9c11dd (patch)
tree771c49777e2b016afa5ce64f9719dc88f7b452ae /examples
parent9b9cf8495bdae791d3f0ec1a2e4a57b72e4c9d89 (diff)
minor changes
Diffstat (limited to 'examples')
-rw-r--r--examples/tests.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/tests.hs b/examples/tests.hs
index ab1b485..974ec24 100644
--- a/examples/tests.hs
+++ b/examples/tests.hs
@@ -204,6 +204,7 @@ eigTest m = complex m <> v |~| v <> diag s
204 204
205eigTestSH m = m <> v |~| v <> real (diag s) 205eigTestSH m = m <> v |~| v <> real (diag s)
206 && orthonormal v 206 && orthonormal v
207 && m |~| v <> real (diag s) <> ctrans v
207 where (s, v) = eigSH m 208 where (s, v) = eigSH m
208 209
209rank m | m |~| 0 = 0 210rank m | m |~| 0 = 0