Bessel functions



>>>>> "kawabe" == kawabe  <keita.kawabe@mpq.mpg.de> writes:

    kawabe> Hello all,
    kawabe> I've just built maxima from CVS, and it seems to me that Bessel 
    kawabe> functions are not working properly at the moment. 

    kawabe> Specifically, though bessel_j(v, z) should be interpreted as 
    kawabe> "the Bessel function of first kind with order v and argument z"
    kawabe> (at least the info file says so), it seems that v is treated as
    kawabe> the argument and z as the order.

    kawabe> Simple example:
    kawabe> (C3) float(bessel_j(0,1));
    kawabe> (D3)                                  0.0
    kawabe> (C4) float(bessel_j(1,0.0001));
    kawabe> (D4)                           0.765211541187671
    kawabe> (C12) bessel(1, 0.0001);
    kawabe> (D12)                          0.765211541187671

    kawabe> Is this the correct behavior?

Yes, for some value of "correct".

We recently changed the order of the args to bessel_j.  But bessel was
left alone.  bessel should have been noted as deprecated, since
bessel_j does everything that bessel did and does more.

Ray