Seems like the all_Integral hint might work
<https://docs.sympy.org/dev/guides/solving/solve-ode.html#return-unevaluated-integrals>:

The simplest way to disable integration is with the all_Integral hint
because you do not need to know which hint to supply: for any hint with a
corresponding _Integral hint, all_Integral only returns the _Integral hint.

Jeremy Monat

On Tue, Jan 17, 2023 at 1:36 PM Aaron Meurer <asmeu...@gmail.com> wrote:

> Yes. I was going to mention that to do this, you should disable
> integration. Right now, the only way to do this is to get the specific hint
> and add "_Integral" to the end. Unfortunately, classify_ode hangs on this
> differential equation (it gets stuck in the solve() call in the nth
> algebraic matcher), so it's hard to say which hint to use. I agree that
> integrate=False ought to just be a flag to dsolve(). This shouldn't be a
> difficult change to make.
>
> If you were to do this, you could just call doit(meijerg=False) on the
> resulting expression.
>
> Aaron Meurer
>
> On Tue, Jan 17, 2023 at 11:22 AM Jeremy Monat <jemo...@gmail.com> wrote:
>
>> It should be possible to disable evaluation of the integrals by using
>> Hint Functions ending with _Integral
>> <https://docs.sympy.org/dev/guides/solving/solve-ode.html#return-unevaluated-integrals>
>> .
>>
>> I recall Aaron Meurer mentioned that it would be nice to have a simpler
>> way of setting that flag.
>>
>> Jeremy Monat
>>
>> On Tue, Jan 17, 2023 at 1:17 PM Oscar Benjamin <
>> oscar.j.benja...@gmail.com> wrote:
>>
>>> On Tue, 17 Jan 2023 at 14:57, 'Tom van Woudenberg' via sympy
>>> <sympy@googlegroups.com> wrote:
>>> >
>>> > Would it be possible to implement a meijerg=false option for dsolve as
>>> well?
>>>
>>> It would be better to have a simple way of disabling integration in
>>> dsolve.
>>>
>>> --
>>> 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 sympy+unsubscr...@googlegroups.com.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/sympy/CAHVvXxS99wYz%2B0Kw%2BByW9Y0M%3DC-v0Y%2Bj%3DiDZ9KcWe-CU6s1Lww%40mail.gmail.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 sympy+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/sympy/CAO00iLgjoDTshONc%3DzT6wSPfQESo01FbTu9TFK-pn5YeUnMQ-g%40mail.gmail.com
>> <https://groups.google.com/d/msgid/sympy/CAO00iLgjoDTshONc%3DzT6wSPfQESo01FbTu9TFK-pn5YeUnMQ-g%40mail.gmail.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 sympy+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/sympy/CAKgW%3D6KQizaiUJHW_UKMZvxeSuZWxW6Jh7TjHQiMB8Z%3DQ-0fJg%40mail.gmail.com
> <https://groups.google.com/d/msgid/sympy/CAKgW%3D6KQizaiUJHW_UKMZvxeSuZWxW6Jh7TjHQiMB8Z%3DQ-0fJg%40mail.gmail.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 sympy+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sympy/CAO00iLjSC70scnALZLqR3W%2ByHFt%3Dynape7kK6OsC6BGfXuO%3Dfw%40mail.gmail.com.

Reply via email to