@@ -338,18 +338,24 @@ Base.copy(A::MyVector) = MyVector(copy(A.A))
338
338
339
339
@testset " Diagonal * Bidiagonal/Tridiagonal with structured diags" begin
340
340
n = size (D,1 )
341
- B = Bidiagonal (map (MyVector, (rand (n), rand (n- 1 )))... , :U )
342
- MB = MyMatrix (B)
341
+ BU = Bidiagonal (map (MyVector, (rand (n), rand (n- 1 )))... , :U )
342
+ MBU = MyMatrix (BU)
343
+ BL = Bidiagonal (map (MyVector, (rand (n), rand (n- 1 )))... , :L )
344
+ MBL = MyMatrix (BL)
343
345
S = SymTridiagonal (map (MyVector, (rand (n), rand (n- 1 )))... )
344
346
MS = MyMatrix (S)
345
347
T = Tridiagonal (map (MyVector, (rand (n- 1 ), rand (n), rand (n- 1 )))... )
346
348
MT = MyMatrix (T)
347
- DA, BA, SA, TA = map (Array, (D, B , S, T))
349
+ DA, BUA, BLA, SA, TA = map (Array, (D, BU, BL , S, T))
348
350
if VERSION >= v " 1.11"
349
- @test D * B ≈ DA * BA
350
- @test B * D ≈ BA * DA
351
- @test D * MB ≈ DA * BA
352
- @test MB * D ≈ BA * DA
351
+ @test D * BU ≈ DA * BUA
352
+ @test BU * D ≈ BUA * DA
353
+ @test D * MBU ≈ DA * BUA
354
+ @test MBU * D ≈ BUA * DA
355
+ @test D * BL ≈ DA * BLA
356
+ @test BL * D ≈ BLA * DA
357
+ @test D * MBL ≈ DA * BLA
358
+ @test MBL * D ≈ BLA * DA
353
359
end
354
360
if VERSION >= v " 1.12.0-DEV.824"
355
361
@test D * S ≈ DA * SA
0 commit comments