Using bessel-functions with python

Hi everyone,

I am struggling to use bessel-functions from a python script that is called by an ANSYS Extension that I’m creating currently.

With “import MathNet.Numerics as mnn” I can successfully use e.g.
f = mnn.SpecialFunctions.Factorial(14)
however, when I want to use a bessel-function, e.g.
b = mnn.SpecialFunctions.BesselK(1,2)
I get an error saying:
‘type’ object has no attribute ‘BesselK’

Does anyone know what I’m doing wrong?

Best regards,