Hi everyone, I found this idea to be really interesting and would like to work on this. In my opinion, the second approach is much better than the first and also this will make it easier to maintain in the future. Can you please explain to me how to move forward on this.
Thanks, Bhaskar On Fri, Mar 27, 2020 at 10:21 PM Ondřej Čertík <[email protected]> wrote: > Hi Jackson and Oscar, > > Indeed, fixing this would be the main goal of the project. Let's > brainstorm the possible approaches. > > 1) One is to work on the integrate() function, and make it return > distributions (delta functions) where appropriate. One way to do that is > using pattern matching, similar to Rubi. One would match the typical > integrals that occur, and return the correct answer. One would probably > write a dedicated function for that, say, integrate_distributions, and then > somehow hook it up into integrate. > > 2) The other approach is to tie it specifically into the > fourier_transform() function. > > I was hoping we could write general enough integrate_distributions > function, so that when it is called from inside Fourier, Laplace and other > transforms, it would return the correct answer. > > Finally, cos(x) is just one simple example. It needs to be extended to > work correctly with piecewise functions and other. I can provide such > examples from a person who reported this issue to me yesterday. > > For example, if it could do majority of these transforms correctly, that > would be ideal: > > > https://en.wikipedia.org/wiki/Fourier_transform#Tables_of_important_Fourier_transforms > > There will be always corner cases, but getting 90% of them correctly would > go a long way. > > Ondrej > > On Thu, Mar 26, 2020, at 4:59 PM, Jackson Morris wrote: > > Hello there, > > > > I just commented on the issue, but I figure that this is a better way > > to communicate. Here is my comment from the issue: I would certainly be > > interested in working on this for GSoC. I am still getting familiar > > with the internals of sympy, but I think that this would be right up my > > alley. Would getting this fixed be the main component of the project? > > > > Best, > > Jackson > > > > On Thursday, March 26, 2020 at 2:38:50 PM UTC-7, ondrej wrote:Hi, > > > > > > Here is a great idea for a GSoC project: > > > > > > https://github.com/sympy/sympy/issues/2803#issuecomment-604697523 > > > > > > Would any student be interested? I know at least one user who couldn't > use SymPy because of that. So fixing it would be very useful to a lot of > people. The scope of the GSoC project could be to get SymPy working with > Fourier transforms of many such functions including Piecewise and adding a > nice page to SymPy's documentation with examples. > > > > > > I'll be happy to mentor such a project. > > > > > > Ondrej > > > > -- > > You received this message because you are subscribed to the Google > > Groups "sympy" group. > > To unsubscribe from this group and stop receiving emails from it, send > > an email to [email protected]. > > To view this discussion on the web visit > > > https://groups.google.com/d/msgid/sympy/a51452c8-bb74-4fa2-b2ac-04c66e7e9199%40googlegroups.com > < > https://groups.google.com/d/msgid/sympy/a51452c8-bb74-4fa2-b2ac-04c66e7e9199%40googlegroups.com?utm_medium=email&utm_source=footer > >. > > -- > You received this message because you are subscribed to the Google Groups > "sympy" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/sympy/ec797a11-e354-48a5-9ce9-f0b5617d7099%40www.fastmail.com > . > -- You received this message because you are subscribed to the Google Groups "sympy" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/CACWaX8y74L%3DAGJYuVb_fR2Xtzd-ccJ3U%3D0udJ%3DunD%2BB5BRNq8g%40mail.gmail.com.
