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 ddca8a6 commit dd49e3aCopy full SHA for dd49e3a
Project.toml
@@ -27,7 +27,7 @@ InfiniteArrays = "0.12"
27
LazyArrays = "0.21.8, 0.22"
28
LazyBandedMatrices = "0.7.1"
29
MatrixFactorizations = "0.8"
30
-SemiseparableMatrices = "0.2.7"
+SemiseparableMatrices = "0.2.7, 0.3"
31
julia = "1.6"
32
33
[extras]
test/test_infbanded.jl
@@ -1,4 +1,4 @@
1
-using InfiniteLinearAlgebra, InfiniteArrays, BandedMatrices, FillArrays, LazyBandedMatrices, Test
+using InfiniteLinearAlgebra, InfiniteArrays, BandedMatrices, FillArrays, LazyBandedMatrices, LazyArrays, Test
2
import BandedMatrices: _BandedMatrix
3
4
@testset "∞-banded" begin
@@ -140,4 +140,13 @@ import BandedMatrices: _BandedMatrix
140
A, B = Diagonal(Fill(2,∞)) , LazyBandedMatrices.Bidiagonal(exp.(1:∞), exp.(1:∞), :L)
141
@test (A*B)[1:10,1:10] ≈ (B*A)[1:10,1:10] ≈ 2B[1:10,1:10]
142
end
143
+
144
+ @testset "concat" begin
145
+ H = ApplyArray(hvcat, 2, 1, [1 Zeros(1,∞)], [1; Zeros(∞)], Diagonal(1:∞))
146
+ @test bandwidths(H) == (1,1)
147
+ H = ApplyArray(hvcat, 2, 1, [0 Zeros(1,∞)], [0; Zeros(∞)], Diagonal(1:∞))
148
+ @test bandwidths(H) == (0,0)
149
+ H = ApplyArray(hvcat, (2,2), 1, [1 Zeros(1,∞)], [1; Zeros(∞)], Diagonal(1:∞))
150
+ @test_broken bandwidths(H) == (1,1)
151
+ end
152
0 commit comments