@@ -3,7 +3,7 @@ using ClassicalOrthogonalPolynomials: WeightedOPLayout
33using ClassicalOrthogonalPolynomials, FillArrays, LazyArrays, ArrayLayouts, QuasiArrays, InfiniteArrays, ContinuumArrays, LinearAlgebra, BandedMatrices,
44 SpecialFunctions, HypergeometricFunctions, InfiniteLinearAlgebra
55
6- import Base: getindex, axes, size, \ , / , * , + , - , summary, == , copy, sum, unsafe_getindex, convert, OneTo, diff
6+ import Base: getindex, axes, size, \ , / , * , + , - , summary, show, == , copy, sum, unsafe_getindex, convert, OneTo, diff
77
88import ArrayLayouts: MemoryLayout, ldiv, diagonaldata, subdiagonaldata, supdiagonaldata
99import BandedMatrices: bandwidths, AbstractBandedMatrix, BandedLayout, _BandedMatrix
@@ -53,9 +53,10 @@ function sum(P::SemiclassicalJacobiWeight{T}) where T
5353 return abs (convert (T, t^ c* exp (loggamma (a+ 1 )+ loggamma (b+ 1 )- loggamma (a+ b+ 2 )) * pFq ((a+ 1 ,- c),(a+ b+ 2 , ), 1 / t)))
5454end
5555
56+ show (io:: IO , P:: SemiclassicalJacobiWeight ) = summary (io, P)
5657function summary (io:: IO , P:: SemiclassicalJacobiWeight )
5758 t,a,b,c = P. t,P. a,P. b,P. c
58- print (io, " x^$a * (1-x)^$b * ($t -x)^$c " )
59+ print (io, " x^$a * (1-x)^$b * ($t -x)^$c on 0..1 " )
5960end
6061
6162function == (A:: SemiclassicalJacobiWeight , B:: SemiclassicalJacobiWeight )
@@ -219,11 +220,13 @@ axes(P::SemiclassicalJacobi{T}) where T = (Inclusion(UnitInterval{T}()),OneToInf
219220
220221orthogonalityweight (P:: SemiclassicalJacobi ) = SemiclassicalJacobiWeight (P. t, P. a, P. b, P. c)
221222
223+ show (io:: IO , P:: SemiclassicalJacobi ) = summary (io, P)
222224function summary (io:: IO , P:: SemiclassicalJacobi )
223225 t,a,b,c = P. t,P. a,P. b,P. c
224- print (io, " SemiclassicalJacobi with weight x^$a * (1-x)^$b * ($t -x)^$c " )
226+ print (io, " SemiclassicalJacobi with weight x^$a * (1-x)^$b * ($t -x)^$c on 0..1 " )
225227end
226228
229+
227230jacobimatrix (P:: SemiclassicalJacobi ) = P. X
228231
229232"""
0 commit comments