JuliaApproximation / MultivariateOrthogonalPolynomials.jl

Supports approximating functions and solving differential equations on various higher dimensional domains such as disks and triangles
Other
17 stars 5 forks source link

Add ComplexZernike #98

Open dlfivefifty opened 3 years ago

ajt60gaibb commented 3 years ago

Does this PR allow me to approximate complex functions on the disk using Zernike polynomials? If so, any hint on what that Julia code would look like?

dlfivefifty commented 3 years ago

Yes. Are you sure you need the complex variant? We already have the real implemented with sin / cos, which works for complex functions.

Here is an example

https://github.com/JuliaApproximation/MultivariateOrthogonalPolynomials.jl/blob/master/examples/diskhelmholtz.jl

Adaptive solve is currently broken since iterating til underflow takes too long.. so need to implement more sensible convergence criteria.