Skip to content

Commit 8af7790

Browse files
committed
remove hilbert_matrix() (unused)
1 parent 2b55856 commit 8af7790

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/DiffTests.jl

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -258,10 +258,6 @@ diag_matrix(::Type{T}, n::Integer) where T<:Real =
258258
Diagonal(LinRange(convert(T, 0.01), convert(T, 100.0), n))
259259
diag_matrix(x::VecOrMat) = diag_matrix(Float64, size(x, 1))
260260

261-
hilbert_matrix(::Type{T}, n::Integer) where T<:Real =
262-
[convert(T, inv(i + j - 1)) for i in 1:n, j in 1:n]
263-
hilbert_matrix(x::VecOrMat) = hilbert_matrix(Float64, size(x, 1))
264-
265261
lehmer_matrix(::Type{T}, n::Integer) where T<:Real =
266262
[convert(T, min(i, j)/max(i, j)) for i in 1:n, j in 1:n]
267263
lehmer_matrix(x::VecOrMat) = lehmer_matrix(Float64, size(x, 1))

0 commit comments

Comments
 (0)