Skip to content

Commit

Permalink
update indexing
Browse files Browse the repository at this point in the history
  • Loading branch information
MikaelSlevinsky committed Mar 21, 2024
1 parent f0b71c6 commit b2cd0e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/halfrange.jl
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ savefig(joinpath(GENFIGS, "halfrange.html"))
###```

# By [Theorem 2.20](https://arxiv.org/abs/2302.08448) it turns out that the *derivatives* of the half-range Chebyshev polynomials are a linear combination of at most two polynomials orthogonal with respect to $\sqrt{(3+y)(1-y)}(1+y)$ on $(-1,1)$. This fact enables us to compute the banded differentiation matrix:
= 3*[u; 0]+XP[1:N+1, 1:N]*u
= 3*[u; 0]+XP[1:N+2, 1:N+1]*u
v = jac2jac(v̂, -0.5, 0.0, 0.5, 1.0; norm1 = true, norm2 = true)
function threshold!(A::AbstractArray, ϵ)
for i in eachindex(A)
Expand Down

0 comments on commit b2cd0e8

Please sign in to comment.