What is the alternative to NumPy in iron python?
Vishnu
Member, Employee Posts: 222
✭✭✭✭
Because Numpy and SciPyY are numerical libraries supported by Python rather than IronPython, they cannot be used with ACT.
Tagged:
2
Answers
-
Numerical library that IronPython supports is Math.net. This library is available for use with ACT and is installed in the following directory:
C:\Program Files\ANSYS Inc\v212\Addins\ACT\bin\Win64\MathNet.Numerics.dll
You can add reference to dll and use them like below:
clr.AddReferenceToFileAndPath("C:\Program Files\ANSYS Inc\v212\Addins\ACT\bin\Win64\MathNet.Numerics.dll") import MathNet
Please refer for examples in the help doc link above
1 -
Futher documentation on the .NET Library: https://numerics.mathdotnet.com/
5