JuliaApproximation / ApproxFunFourier.jl

Support for Fourier-based spaces in ApproxFun
MIT License
7 stars 4 forks source link

Diagonal interlace in Laurent(Circle()) Derivative #80

Closed jishnub closed 1 year ago

jishnub commented 1 year ago

This makes Derivative(Laurent(Circle())) type-inferred:

julia> @inferred Derivative(Laurent(Circle()))
DerivativeWrapper : Laurent(🕒) → Laurent(🕒)
 0.0+0.0im   0.0+0.0im  1.0+0.0im       â‹…          â‹…           â‹…          â‹…           â‹…          â‹…          â‹…      â‹…
 0.0+0.0im   0.0+0.0im  0.0+0.0im   0.0+0.0im      â‹…           â‹…          â‹…           â‹…          â‹…          â‹…      â‹…
 0.0+0.0im   0.0+0.0im  0.0+0.0im   0.0+0.0im  2.0+0.0im       â‹…          â‹…           â‹…          â‹…          â‹…      â‹…
     â‹…      -1.0+0.0im  0.0+0.0im   0.0+0.0im  0.0+0.0im   0.0+0.0im      â‹…           â‹…          â‹…          â‹…      â‹…
     â‹…           â‹…      0.0+0.0im   0.0+0.0im  0.0+0.0im   0.0+0.0im  3.0+0.0im       â‹…          â‹…          â‹…      â‹…
     â‹…           â‹…          â‹…      -2.0+0.0im  0.0+0.0im   0.0+0.0im  0.0+0.0im   0.0+0.0im      â‹…          â‹…      â‹…
     â‹…           â‹…          â‹…           â‹…      0.0+0.0im   0.0+0.0im  0.0+0.0im   0.0+0.0im  4.0+0.0im      â‹…      â‹…
     â‹…           â‹…          â‹…           â‹…          â‹…      -3.0+0.0im  0.0+0.0im   0.0+0.0im  0.0+0.0im  0.0+0.0im  â‹…
     ⋅           ⋅          ⋅           ⋅          ⋅           ⋅      0.0+0.0im   0.0+0.0im  0.0+0.0im  0.0+0.0im  ⋱
     ⋅           ⋅          ⋅           ⋅          ⋅           ⋅          ⋅      -4.0+0.0im  0.0+0.0im  0.0+0.0im  ⋱
     ⋅           ⋅          ⋅           ⋅          ⋅           ⋅          ⋅           ⋅          ⋱          ⋱      ⋱