MikaelSlevinsky / FastTransforms

:bullettrain_front: Fast orthogonal polynomial transforms :surfer:
MIT License
58 stars 9 forks source link

Fast trivial `cheb2jac` #79

Open dlfivefifty opened 11 months ago

dlfivefifty commented 11 months ago
julia> x = randn(100); @time cheb2jac(x, -1/2,-1/2);
  0.000522 seconds (18 allocations: 1.234 KiB)

julia> x = randn(1000); @time cheb2jac(x, -1/2,-1/2);
  0.025063 seconds (18 allocations: 8.297 KiB)