You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: test/test_arrowhead.jl
+31-1Lines changed: 31 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
using PiecewiseOrthogonalPolynomials, FillArrays, BandedMatrices, MatrixFactorizations, BlockBandedMatrices, Base64, ClassicalOrthogonalPolynomials, Test
1
+
using PiecewiseOrthogonalPolynomials, FillArrays, BandedMatrices, MatrixFactorizations, BlockBandedMatrices, BandedMatrices, Base64, ClassicalOrthogonalPolynomials, LinearAlgebra, Test
2
2
using PiecewiseOrthogonalPolynomials: BBBArrowheadMatrix
3
3
using InfiniteArrays, BlockArrays
4
4
using BandedMatrices: _BandedMatrix
@@ -144,4 +144,34 @@ import Base: oneto, OneTo
144
144
@test U ≈reversecholesky(Matrix(Symmetric(A))).U
145
145
@test U*U'≈Symmetric(A)
146
146
end
147
+
148
+
@testset"banded"begin
149
+
n =5; p =5;
150
+
A =BBBArrowheadMatrix(BandedMatrix(0=>1:n, 1=>1:n-1, -1=>1:n-1),
0 commit comments