Doing
```julia
using ClassicalOrthogonalPolynomials
T = chebyshevt(0 .. 1) # sâŠolution basis is T_n
C = ultraspherical(1, 0 .. 1) # RHS basis is C_n^(2)
s = axes(T, 1)
op = (s .+ im) .* T
C \ op
```
results in
```julia
julia> C \ op
(â”âĂâ”â BandedMatrix{Float64} with bandwidths (0, 2) with data vcat(1Ăâ”â FillArrays.Fill{Float64, 2, Tuple{Base.OneTo{Int64}, InfiniteArrays.OneToInf{Int64}}} with indices Base.OneTo(1)ĂOneToInf(), 1Ăâ”â FillArrays.Zeros{Float64, 2, Tuple{Base.OneTo{Int64}, InfiniteArrays.OneToInf{Int64}}} with indices Base.OneTo(1)ĂOneToInf(), hcat(1Ă1 Ones{Float64}, 1Ăâ”â FillArrays.Fill{Float64, 2, Tuple{Base.OneTo{Int64}, InfiniteArrays.OneToInf{Int64}}} with indices Base.OneTo(1)ĂOneToInf()) with indices Base.OneTo(1)ĂOneToInf()) with indices Base.OneTo(3)ĂOneToInf() with indices OneToInf()ĂOneToInf()) * (â”âĂâ”â view(::RecurrenceRelationshipArrays.Clenshaw{Float64, Vector{ComplexF64}, LazyArrays.BroadcastVector{Float64, typeof(*), Tuple{LazyArrays.BroadcastVector{Float64, typeof(/), Tuple{InfiniteArrays.InfStepRange{Float64, Float64}, InfiniteArrays.InfUnitRange{Int64}}}, Float64}}, LazyArrays.BroadcastVector{Float64, typeof(*), Tuple{LazyArrays.BroadcastVector{Float64, typeof(/), Tuple{InfiniteArrays.InfStepRange{Float64, Float64}, InfiniteArrays.InfUnitRange{Int64}}}, Float64}}, LazyArrays.BroadcastVector{Float64, typeof(/), Tuple{InfiniteArrays.InfStepRange{Float64, Float64}, InfiniteArrays.InfUnitRange{Int64}}}, LazyBandedMatrices.Tridiagonal{Float64, LazyArrays.ApplyArray{Float64, 1, typeof(vcat), Tuple{Float64, FillArrays.Fill{Float64, 1, Tuple{InfiniteArrays.OneToInf{Int64}}}}}, FillArrays.Fill{Float64, 1, Tuple{InfiniteArrays.OneToInf{Int64}}}, FillArrays.Fill{Float64, 1, Tuple{InfiniteArrays.OneToInf{Int64}}}}}, :, :) with eltype Float64 with indices OneToInf()ĂOneToInf()) with indices OneToInf()ĂOneToInf():
Error showing value of type LazyArrays.ApplyArray{Float64, 2, typeof(*), Tuple{BandedMatrices.BandedMatrix{Float64, LazyArrays.ApplyArray{Float64, 2, typeof(vcat), Tuple{FillArrays.Fill{Float64, 2, Tuple{Base.OneTo{Int64}, InfiniteArrays.OneToInf{Int64}}}, FillArrays.Zeros{Float64, 2, Tuple{Base.OneTo{Int64}, InfiniteArrays.OneToInf{Int64}}}, LazyArrays.ApplyArray{Float64, 2, typeof(hcat), Tuple{FillArrays.Ones{Float64, 2, Tuple{Base.OneTo{Int64}, Base.OneTo{Int64}}}, FillArrays.Fill{Float64, 2, Tuple{Base.OneTo{Int64}, InfiniteArrays.OneToInf{Int64}}}}}}}, InfiniteArrays.OneToInf{Int64}}, SubArray{Float64, 2, RecurrenceRelationshipArrays.Clenshaw{Float64, Vector{ComplexF64}, LazyArrays.BroadcastVector{Float64, typeof(*), Tuple{LazyArrays.BroadcastVector{Float64, typeof(/), Tuple{InfiniteArrays.InfStepRange{Float64, Float64}, InfiniteArrays.InfUnitRange{Int64}}}, Float64}}, LazyArrays.BroadcastVector{Float64, typeof(*), Tuple{LazyArrays.BroadcastVector{Float64, typeof(/), Tuple{InfiniteArrays.InfStepRange{Float64, Float64}, InfiniteArrays.InfUnitRange{Int64}}}, Float64}}, LazyArrays.BroadcastVector{Float64, typeof(/), Tuple{InfiniteArrays.InfStepRange{Float64, Float64}, InfiniteArrays.InfUnitRange{Int64}}}, LazyBandedMatrices.Tridiagonal{Float64, LazyArrays.ApplyArray{Float64, 1, typeof(vcat), Tuple{Float64, FillArrays.Fill{Float64, 1, Tuple{InfiniteArrays.OneToInf{Int64}}}}}, FillArrays.Fill{Float64, 1, Tuple{InfiniteArrays.OneToInf{Int64}}}, FillArrays.Fill{Float64, 1, Tuple{InfiniteArrays.OneToInf{Int64}}}}}, Tuple{Base.Slice{InfiniteArrays.OneToInf{Int64}}, Base.Slice{InfiniteArrays.OneToInf{Int64}}}, false}}}:
SYSTEM (REPL): showing an error caused an error
ERROR: 1-element ExceptionStack:
InexactError: Float64(0.5 + 1.0im)
Stacktrace:
[1] Real
@ ./complex.jl:44 [inlined]
[2] convert
@ ./number.jl:7 [inlined]
[3] setindex!
@ ./array.jl:985 [inlined]
[4] macro expansion
@ ./multidimensional.jl:981 [inlined]
[5] macro expansion
@ ./cartesian.jl:64 [inlined]
[6] _unsafe_getindex!
@ ./multidimensional.jl:979 [inlined]
[7] _unsafe_getindex(::IndexCartesian, ::SubArray{âŠ}, ::UnitRange{âŠ}, ::Int64)
@ Base ./multidimensional.jl:970
[8] _getindex
@ ./multidimensional.jl:956 [inlined]
[9] getindex
@ ./abstractarray.jl:1342 [inlined]
[10] map (repeats 2 times)
@ ./tuple.jl:409 [inlined]
[11] _mul_getindex
@ ~/.julia/packages/LazyArrays/gHXdm/src/linalg/mul.jl:219 [inlined]
[12] getindex
@ ~/.julia/packages/LazyArrays/gHXdm/src/linalg/mul.jl:185 [inlined]
[13] isassigned(::LazyArrays.ApplyArray{Float64, 2, typeof(*), Tuple{âŠ}}, ::Int64, ::Int64)
@ Base ./multidimensional.jl:1653
[14] alignment(io::IOContext{âŠ}, X::AbstractVecOrMat, rows::Vector{âŠ}, cols::Vector{âŠ}, cols_if_complete::Int64, cols_otherwise::Int64, sep::Int64, ncols::Infinities.InfiniteCardinal{âŠ})
@ Base ./arrayshow.jl:68
[15] _print_matrix(io::IOContext{âŠ}, X::AbstractVecOrMat, pre::String, sep::String, post::String, hdots::String, vdots::String, ddots::String, hmod::Int64, vmod::Int64, rowsA::InfiniteArrays.InfUnitRange{âŠ}, colsA::InfiniteArrays.InfUnitRange{âŠ})
@ Base ./arrayshow.jl:207
[16] print_matrix(io::IOContext{âŠ}, X::LazyArrays.ApplyArray{âŠ}, pre::String, sep::String, post::String, hdots::String, vdots::String, ddots::String, hmod::Int64, vmod::Int64)
@ Base ./arrayshow.jl:171
[17] print_matrix
@ ./arrayshow.jl:171 [inlined]
[18] print_array
@ ./arrayshow.jl:358 [inlined]
[19] show(io::IOContext{âŠ}, ::MIME{âŠ}, X::LazyArrays.ApplyArray{âŠ})
@ Base ./arrayshow.jl:399
[20] show_repl(io::IO, mime::MIME{Symbol("text/plain")}, x::Any)
@ REPL ~/.julia/juliaup/julia-1.12.1+0.x64.linux.gnu/share/julia/stdlib/v1.12/REPL/src/REPL.jl:548
[21] show_limited(io::IO, mime::MIME, x::Any)
@ REPL ~/.julia/juliaup/julia-1.12.1+0.x64.linux.gnu/share/julia/stdlib/v1.12/REPL/src/REPL.jl:517
[22] (::REPL.var"#display##0#display##1"{REPL.REPLDisplay{âŠ}, MIME{âŠ}, Base.RefValue{âŠ}})(io::Any)
@ REPL ~/.julia/juliaup/julia-1.12.1+0.x64.linux.gnu/share/julia/stdlib/v1.12/REPL/src/REPL.jl:540
[23] with_repl_linfo(f::Any, repl::REPL.LineEditREPL)
@ REPL ~/.julia/juliaup/julia-1.12.1+0.x64.linux.gnu/share/julia/stdlib/v1.12/REPL/src/REPL.jl:833
[24] display(d::REPL.REPLDisplay, mime::MIME{Symbol("text/plain")}, x::Any)
@ REPL ~/.julia/juliaup/julia-1.12.1+0.x64.linux.gnu/share/julia/stdlib/v1.12/REPL/src/REPL.jl:526
[25] display
@ ~/.julia/juliaup/julia-1.12.1+0.x64.linux.gnu/share/julia/stdlib/v1.12/REPL/src/REPL.jl:546 [inlined]
[26] display(x::Any)
@ Base.Multimedia ./multimedia.jl:340
[27] (::REPL.var"#print_response##2#print_response##3")()
@ REPL ~/.julia/juliaup/julia-1.12.1+0.x64.linux.gnu/share/julia/stdlib/v1.12/REPL/src/REPL.jl:590
[28] repl_backend_loop(backend::REPL.REPLBackend, get_module::Function)
@ REPL ~/.julia/juliaup/julia-1.12.1+0.x64.linux.gnu/share/julia/stdlib/v1.12/REPL/src/REPL.jl:445
[29] start_repl_backend(backend::REPL.REPLBackend, consumer::Any; get_module::Function)
@ REPL ~/.julia/juliaup/julia-1.12.1+0.x64.linux.gnu/share/julia/stdlib/v1.12/REPL/src/REPL.jl:427
[30] start_repl_backend
@ ~/.julia/juliaup/julia-1.12.1+0.x64.linux.gnu/share/julia/stdlib/v1.12/REPL/src/REPL.jl:424 [inlined]
[31] run_repl(repl::REPL.AbstractREPL, consumer::Any; backend_on_current_task::Bool, backend::Any)
@ REPL ~/.julia/juliaup/julia-1.12.1+0.x64.linux.gnu/share/julia/stdlib/v1.12/REPL/src/REPL.jl:653
[32] run_repl(repl::REPL.AbstractREPL, consumer::Any)
@ REPL ~/.julia/juliaup/julia-1.12.1+0.x64.linux.gnu/share/julia/stdlib/v1.12/REPL/src/REPL.jl:639
[33] run_std_repl(REPL::Module, quiet::Bool, banner::Symbol, history_file::Bool)
@ Base ./client.jl:478
[34] run_main_repl(interactive::Bool, quiet::Bool, banner::Symbol, history_file::Bool)
@ Base ./client.jl:499
[35] repl_main
@ ./client.jl:586 [inlined]
[36] _start()
@ Base ./client.jl:561
Stacktrace:
[1] print_response(errio::IO, response::Any, backend::Union{âŠ}, show_value::Bool, have_color::Bool, specialdisplay::Union{âŠ})
@ REPL ~/.julia/juliaup/julia-1.12.1+0.x64.linux.gnu/share/julia/stdlib/v1.12/REPL/src/REPL.jl:599
[2] (::REPL.var"#print_response##0#print_response##1"{REPL.LineEditREPL, Pair{Any, Bool}, Bool, Bool})(io::Any)
@ REPL ~/.julia/juliaup/julia-1.12.1+0.x64.linux.gnu/share/julia/stdlib/v1.12/REPL/src/REPL.jl:558
[3] with_repl_linfo(f::Any, repl::REPL.LineEditREPL)
@ REPL ~/.julia/juliaup/julia-1.12.1+0.x64.linux.gnu/share/julia/stdlib/v1.12/REPL/src/REPL.jl:833
[4] print_response(repl::REPL.AbstractREPL, response::Any, show_value::Bool, have_color::Bool)
@ REPL ~/.julia/juliaup/julia-1.12.1+0.x64.linux.gnu/share/julia/stdlib/v1.12/REPL/src/REPL.jl:556
[5] (::REPL.var"#do_respond#73"{âŠ})(s::REPL.LineEdit.MIState, buf::Any, ok::Bool)
@ REPL ~/.julia/juliaup/julia-1.12.1+0.x64.linux.gnu/share/julia/stdlib/v1.12/REPL/src/REPL.jl:1192
[6] (::REPL.var"#setup_interface##32#setup_interface##33"{âŠ})(::REPL.LineEdit.MIState, ::Any, ::Vararg{âŠ})
@ REPL ~/.julia/juliaup/julia-1.12.1+0.x64.linux.gnu/share/julia/stdlib/v1.12/REPL/src/REPL.jl:1599
[7] (::REPL.LineEdit.var"#match_input##0#match_input##1"{âŠ})(s::Any, p::Any)
@ REPL.LineEdit ~/.julia/juliaup/julia-1.12.1+0.x64.linux.gnu/share/julia/stdlib/v1.12/REPL/src/LineEdit.jl:1810
[8] macro expansion
@ ~/.julia/juliaup/julia-1.12.1+0.x64.linux.gnu/share/julia/stdlib/v1.12/REPL/src/LineEdit.jl:2960 [inlined]
[9] macro expansion
@ ./lock.jl:376 [inlined]
[10] (::REPL.LineEdit.var"#prompt!##2#prompt!##3"{âŠ})()
@ REPL.LineEdit ~/.julia/juliaup/julia-1.12.1+0.x64.linux.gnu/share/julia/stdlib/v1.12/REPL/src/LineEdit.jl:2949
Some type information was truncated. Use `show(err)` to see complete types.
```