Special Functions

Information Theory functions

mars.tensor.special.entr

Elementwise function for computing entropy.

mars.tensor.special.rel_entr

Elementwise function for computing relative entropy.

Bessel functions

mars.tensor.special.jv

Bessel function of the first kind of real order and complex argument.

mars.tensor.special.jve

Exponentially scaled Bessel function of order v.

mars.tensor.special.yn

Bessel function of the second kind of integer order and real argument.

mars.tensor.special.yv

Bessel function of the second kind of real order and complex argument.

mars.tensor.special.yve

Exponentially scaled Bessel function of the second kind of real order.

mars.tensor.special.kn

Modified Bessel function of the second kind of integer order n

mars.tensor.special.kv

Modified Bessel function of the second kind of real order v

mars.tensor.special.kve

Exponentially scaled modified Bessel function of the second kind.

mars.tensor.special.iv

Modified Bessel function of the first kind of real order.

mars.tensor.special.ive

Exponentially scaled modified Bessel function of the first kind

mars.tensor.special.hankel1

Hankel function of the first kind

mars.tensor.special.hankel1e

Exponentially scaled Hankel function of the first kind

mars.tensor.special.hankel2

Hankel function of the second kind

mars.tensor.special.hankel2e

Exponentially scaled Hankel function of the second kind

Error function

mars.tensor.special.erf

Returns the error function of complex argument.

Convenience functions

mars.tensor.special.xlogy

Compute x*log(y) so that the result is 0 if x = 0.