It’s difficult to use SciPy from IronPython because much of SciPy is implemented in C rather than in Python itself. I wrote an article on CodeProject summarizing some things I’d learned about using Python modules with IronPython. (Many thanks to folks who left helpful comments here and answered my questions on StackOverflow.) The article gives stand-alone code for computing normal probabilities and explains why I wrote my own code rather than using SciPy.
Here’s the article: Computing Normal Probabilities in IronPython
Here’s some more stand-alone Python code for computing mathematical functions and generating random numbers. The code should work in Python 2.5, Python 3.0, and IronPython.
Related post: IronPython is a one-way gate

{ 4 comments… read them below or add one }
Martin 03.11.09 at 07:58
The link to the article seems to be incorrect.
John 03.11.09 at 08:02
Thanks! I’ve corrected the link.
Steve Holden 03.11.09 at 08:46
Have you seen Resolver Systems’ recent work with numpy in Resolver One based on their IronClad open source project? I understand you might be cautious about engaging with the IronPython world, but IronClad really does seem to help. I don’t know how far it is from supporting all of scipy, though …
John 03.11.09 at 09:14
Thanks, Steve. I linked to IronClad in my previous IronPython post. I thought I had mentioned them in the CodeProject article, but it looks like I did not. This was an oversight. IronClad sounds very promising.