Nils Bruin wrote:

On Monday, September 22, 2014 9:16:08 AM UTC-7, Nils Bruin wrote:
>
> sage: bessel_K(3,x).diff(x)
>> 1/2*bessel_K(4, x) + 1/2*bessel_K(2, x)
>> sage: SR(maxima_calculus(bessel_K(3,x)).diff(x))
>> -1/2*bessel_K(4, x) - 1/2*bessel_K(2, x)
>>
>> Given that bessel_K(3,x) is not a constant function, at least one of 
>> those answers must be wrong.
>>
>
> The formula is hard-coded in sage.functions.bessel.py  as 
> Function_Bessel_K._derivative_ (line 843). Fixing should be a one character 
> edit.
>

Browsable at 
https://github.com/sagemath/sage/blob/master/src/sage/functions/bessel.py

I see the definition of _derivative_ for Function_Bessel_K at line 893 
there:
https://github.com/sagemath/sage/blob/master/src/sage/functions/bessel.py#L893


-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.

Reply via email to