@@ -3,7 +3,7 @@ using Test, LinearMaps, LinearAlgebra, BlockArrays
3
3
@testset " Non-traditional axes" begin
4
4
5
5
A = rand (ComplexF64,2 ,4 )
6
- B = PseudoBlockMatrix {ComplexF64} (undef, [2 ,3 ], [3 ,4 ])
6
+ B = BlockMatrix {ComplexF64} (undef, [2 ,3 ], [3 ,4 ])
7
7
8
8
ax1 = axes (B)[1 ]
9
9
ax2 = axes (B)[2 ]
@@ -19,7 +19,7 @@ using Test, LinearMaps, LinearAlgebra, BlockArrays
19
19
@test eltype (N) == eltype (B)
20
20
21
21
u = similar (Array{ComplexF64}, ax2)
22
- v = PseudoBlockVector {ComplexF64} (undef, [3 ,5 ])
22
+ v = BlockVector {ComplexF64} (undef, [3 ,5 ])
23
23
w = similar (Array{ComplexF64}, ax1)
24
24
25
25
for i in eachindex (u) u[i] = rand (ComplexF64) end
@@ -54,7 +54,7 @@ using Test, LinearMaps, LinearAlgebra, BlockArrays
54
54
@test blocklengths (axes (C)[1 ]) == blocklengths (ax1)
55
55
56
56
A = rand (ComplexF64,2 ,2 )
57
- B = PseudoBlockMatrix {ComplexF64} (undef, [2 ,2 ], [2 ,2 ])
57
+ B = BlockMatrix {ComplexF64} (undef, [2 ,2 ], [2 ,2 ])
58
58
ax1 = axes (B)[1 ]
59
59
ax2 = axes (B)[2 ]
60
60
fill! (B,0 )
@@ -75,12 +75,12 @@ using Test, LinearMaps, LinearAlgebra, BlockArrays
75
75
D2 = rand (5 ,3 )
76
76
D3 = rand (3 ,6 )
77
77
D4 = rand (6 ,6 )
78
- A1 = PseudoBlockMatrix (D1, [1 ,3 ], [2 ,3 ])
79
- A2 = PseudoBlockMatrix (D2, [2 ,3 ], [2 ,1 ])
80
- A3 = PseudoBlockMatrix (D3, [2 ,1 ], [3 ,2 ,1 ])
81
- A4 = PseudoBlockMatrix (D4, [3 ,2 ,1 ], [3 ,2 ,1 ])
78
+ A1 = BlockMatrix (D1, [1 ,3 ], [2 ,3 ])
79
+ A2 = BlockMatrix (D2, [2 ,3 ], [2 ,1 ])
80
+ A3 = BlockMatrix (D3, [2 ,1 ], [3 ,2 ,1 ])
81
+ A4 = BlockMatrix (D4, [3 ,2 ,1 ], [3 ,2 ,1 ])
82
82
u = rand (6 )
83
- x = PseudoBlockVector (u, [3 ,2 ,1 ])
83
+ x = BlockVector (u, [3 ,2 ,1 ])
84
84
L = LinearMap (A1) * LinearMap (A2) * LinearMap (A3) * LinearMap (A4)
85
85
y = L * x
86
86
v = Vector (y)
0 commit comments