JuliaApproximation / ApproxFun.jl

Julia package for function approximation
http://juliaapproximation.github.io/ApproxFun.jl/
Other
536 stars 71 forks source link

Integral Constraints? #168

Closed idontgetoutmuch closed 9 years ago

idontgetoutmuch commented 9 years ago

The referenced paper "A. Townsend & S. Olver (2014), The automatic solution of partial differential equations using a global spectral method, arXiv:1409:2789" tantalisingly mentions the possibility of integral constraints. Have these been implemented? I have an example if that would be helpful.

dlfivefifty commented 9 years ago

Yep, just use the DefiniteIntegral functional

Sent from my iPad

On 20 Apr 2015, at 12:00 am, idontgetoutmuch notifications@github.com wrote:

The referenced paper "A. Townsend & S. Olver (2014), The automatic solution of partial differential equations using a global spectral method, arXiv:1409:2789" tantalisingly mentions the possibility of integral constraints. Have these been implemented? I have an example if that would be helpful.

— Reply to this email directly or view it on GitHub.

dlfivefifty commented 9 years ago

Actually, DefiniteIntegral is current limited to square-root singularity spaces. But it can be done via the following:

S=Chebyshev() Q=Integral(S) B=(Evaluation(S,1.)-Evaluation(S,-1.))*Q

We can leave this issue open until this becomes implemented as the default for DefiniteIntegral

dlfivefifty commented 9 years ago

A default DefiniteIntegral is now implemented.