Disabling integration would be a neat solution! However, as Aaron stated, 
dsolve() hangs when using all_Integral. What would be the best way to 
proceed? Would a flag integrate=False be an appropriate issue to start?

Op dinsdag 17 januari 2023 om 19:38:48 UTC+1 schreef Jeremy Monat:

> 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 <[email protected]> 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 <[email protected]> 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 <[email protected]> 
>>> wrote:
>>>
>>>> On Tue, 17 Jan 2023 at 14:57, 'Tom van Woudenberg' via sympy
>>>> <[email protected]> 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 [email protected].
>>>> 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 [email protected].
>>> 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 [email protected].
>>
> 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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sympy/5dd7e467-ce44-4dfe-8e00-d2feaeaa9ba9n%40googlegroups.com.

Reply via email to