Comments (6)
Did you try loading GenericFFT
? Here's an alternative that works in ApproxFun
julia> using ApproxFun, GenericFFT
julia> f = (r,θ)-> sin(100*r*cos(θ))
#19 (generic function with 1 method)
julia> S = Chebyshev(big"0.1"..big"1.0")⊗Fourier(big"0.0"..big"2.0"*π)
Chebyshev(0.1000000000000000000000000000000000000000000000000000000000000000000000000000002 .. 1.0) ⊗ Fourier(【0.0,6.283185307179586476925286766559005768394338798750211641949889184615632812572396❫)
julia> F = ProductFun(LowRankFun(f, S; gridx = 256, gridy = 256))
ProductFun on Chebyshev(0.1000000000000000000000000000000000000000000000000000000000000000000000000000002 .. 1.0) ⊗ Fourier(【0.0,6.283185307179586476925286766559005768394338798750211641949889184615632812572396❫)
julia> coefficients(F); # get the array of coefficients
julia> f(big"0.123", big"0.456")
-0.9988661226402205869689991698845071591411740075338145723676043325127213580466635
julia> F(big"0.123", big"0.456")
-0.998866122640220586968999169884507159141174007533814572367604332512721358046603
from classicalorthogonalpolynomials.jl.
GenericFFT.jl
try loading that it might just work
from classicalorthogonalpolynomials.jl.
I thought GenericFFT was a mirror of the Fourier functionality in FastTransforms?
from classicalorthogonalpolynomials.jl.
GenericFFT.jl
gives the same error when using ClassicalOrthogonalPolynomials.jl
but the ApproxFun
code does work. Thanks @MikaelSlevinsky
from classicalorthogonalpolynomials.jl.
Odd as ApproxFunFourier.jl uses the exact same transform (FFTW.plan_r2r!(x, FFTW.HC2R)
)
So I'm confused how the ApproxFun code is working
from classicalorthogonalpolynomials.jl.
Ah I see we special cased the transform for BigFloat
to call fft
:
from classicalorthogonalpolynomials.jl.
Related Issues (20)
- Quadratically shifted bases HOT 4
- Stackoverflow for P'P HOT 2
- Lanczos Jacobi matrices and `^` HOT 2
- long compilation time for Jacobi(m,n) \ Jacobi(0,0) HOT 3
- Chebyshev() \ exp.(im*x) errors
- Make P[0.1,10] allocation free
- Ambiguities in ClassicalOrthogonalPolynomials and its dependencies
- UndefVarError in docs HOT 2
- Cholesky Jacobi matrices are insanely slow HOT 9
- Infinite loop converting between ChebyshevU and Ultraspherical HOT 1
- Can't print slices of orthogonal polynomials
- Can't compute scalar times squared jacobmatrix HOT 3
- A \ B never completes when B is a `Normalized` basis HOT 2
- no method matching combine_axes() when indexing a transposed \(A, B)
- copy(Ldiv(A, B)) for Normalized(A) and Weighted(Normalized(B)) ambiguity
- Clenshaw errs with degree-0 polynomial
- Identity mapping wT -> wU HOT 1
- How to cite the package? HOT 4
- How to get BigFloat accurate conversion operators? HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from classicalorthogonalpolynomials.jl.