vote up 1 vote down star

Imagine I have a .Net application that supports user extensions in the form of Python modules by embedding IronPython. Using Ironclad, I can allow users to make use of the NumPy and SciPy packages from within their modules. How good is the interop provided by Ironclad? My question is: can I use a NumPy array of type T provided by the user's module in the rest of my app that requires an IList<T>?

Edit To clarify, IronPython exposes any Python enumerable of objects of type T as an IEnumerable<T> or an IList<T>. I'm not sure if NumPy arrays fit in this category. I would rather not have to call .tolist() on the NumPy array as the arrays may be quite large.

flag

I don't know the answer to this but you might try on the IronPython mailing list (lists.ironpython.com) – Dino Viehland Feb 24 at 2:55

Your Answer

Get an OpenID
or
never shown

Browse other questions tagged or ask your own question.