Skip to content

Commit a90f9f2

Browse files
authored
Merge pull request #118 from JuliaLinearAlgebra/an/morecoverage
Remove unused zeroshiftQR! function
2 parents f765df3 + f4160ae commit a90f9f2

File tree

1 file changed

+0
-20
lines changed

1 file changed

+0
-20
lines changed

src/eigenSelfAdjoint.jl

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -431,26 +431,6 @@ function singleShiftQR!(
431431
S
432432
end
433433

434-
function zeroshiftQR!(A::Bidiagonal{T}) where {T}
435-
d = A.dv
436-
e = A.ev
437-
n = length(d)
438-
oldc = one(T)
439-
olds = oldc
440-
c = oldc
441-
for i = 1:n-1
442-
c, s, r = givensAlgorithm(d[i] * c, e[i])
443-
if i > 1
444-
e[i-1] = olds * r
445-
end
446-
oldc, olds, d[i] = givensAlgorithm(oldc * r, d[i+1] * s)
447-
end
448-
h = d[n] * c
449-
e[n-1] = h * olds
450-
d[n] = h * oldc
451-
return A
452-
end
453-
454434
symtri!(A::Hermitian) = A.uplo == 'L' ? symtriLower!(A.data) : symtriUpper!(A.data)
455435
symtri!(A::Symmetric{T}) where {T<:Real} =
456436
A.uplo == 'L' ? symtriLower!(A.data) : symtriUpper!(A.data)

0 commit comments

Comments
 (0)