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 197bbe8 commit a2bec92Copy full SHA for a2bec92
test/linalg.jl
@@ -6,6 +6,16 @@ b = ArrayPartition(bb)
6
@test Array(b) == collect(b) == vcat(bb...)
7
A = randn(MersenneTwister(123), n+m, n+m)
8
9
+for T in (UpperTriangular,)
10
+ B = T(A)
11
+ @test B*Array(FF \ b) ≈ b
12
+ bbb = copy(b)
13
+ @test ldiv!(bbb, FF, b) === bbb
14
+ copyto!(bbb, b)
15
+ @test ldiv!(FF, bbb) === bbb
16
+ @test B*Array(bbb) ≈ b
17
+end
18
+
19
for ff in (lu, svd, qr)
20
FF = ff(A)
21
@test A*(FF \ b) ≈ b
0 commit comments