To compute Bessel transforms of a real function we need first its Fourier transform :
def_four tr f 1024
for example. We define also a new kind of object which contains some parameters to compute the last two formulas of 4.2.1 (i.e. some values of the and or ). This is done with the instruction
Here xx is the name of the object that will contain the parameters, n is the number of the Bessel transform and n2 the number of points in the interval used to compute the integrals. The same object can be used to compute the n-th Bessel tranform of other functions. To compute the Bessel transform of order n of we use the instruction
where g is a real function that will contain the result.