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 59f3b34 commit d433869Copy full SHA for d433869
example/linalg/example_eigh.f90
@@ -14,7 +14,7 @@ program example_eigh
14
[4, 5, 4] ], [3,3] ))
15
16
! Note: real symmetric matrices have real (orthogonal) eigenvalues and eigenvectors
17
- allocate(lambda(3),v(3,3))
+ allocate(lambda(3),vectors(3,3))
18
call eigh(A, lambda, vectors=vectors)
19
20
print *, 'Real matrix'
@@ -26,7 +26,7 @@ program example_eigh
26
! Complex hermitian matrices have real (orthogonal) eigenvalues and complex eigenvectors
27
cA = A
28
29
- allocate(cv(3,3))
+ allocate(cvectors(3,3))
30
call eigh(cA, lambda, vectors=cvectors)
31
32
print *, 'Complex matrix'
0 commit comments