Re: [Ironpython-users] abstract class conversion?

2011-12-02 Thread Michael Colonno
Hi Jeff ~ Thanks for your help - it sounds like I have to do a lot more digging in the library itself to see what's going on. The VB.NET code (though paraphrased) does work; perhaps there is something internal to the library taking care of the translation to the subclass

Re: [Ironpython-users] Beginner question.

2011-12-02 Thread Doug Blank
On Fri, Dec 2, 2011 at 3:04 PM, Jeff Hardy wrote: > I wouldn't be surprised if you were one of the first people to try > this particular combination. However, anything that works from C# > should work from IronPython (except possibly unsafe code). > > Translating C# to IronPython is fairly straigh

Re: [Ironpython-users] abstract class conversion?

2011-12-02 Thread Jeff Hardy
Well, as you guessed, 'Type' and 'function' are both abstract (and 'function' is not static). You can't instantiate an abstract class directly (i.e., a = Type()). You need to either instantiate a subclass, or the library you're using may provide a factory function that does that internally and retu

Re: [Ironpython-users] Beginner question.

2011-12-02 Thread Jeff Hardy
I wouldn't be surprised if you were one of the first people to try this particular combination. However, anything that works from C# should work from IronPython (except possibly unsafe code). Translating C# to IronPython is fairly straightforward: remove most of the punctuation :) You may have to

Re: [Ironpython-users] SciPy for .NET

2011-12-02 Thread Curt Hagenlocher
NumPy and SciPy aren't particularly suitable for use from non-Python environments, because a considerable amount of glue logic is actually implemented in Python. If you do an internet search for "svd .net", there doesn't seem to be a shortage of other implementations. Two I'm personally familiar wi

[Ironpython-users] SciPy for .NET

2011-12-02 Thread Shaheer Zubairi
Hi guys, I have a query regarding the use of SciPy for .NET. I have existing code written in Visual Basic (VB) in Visual Studio 2010. I would like to use the Singular Value Decomposition (SVD) of a non-square matrix using the Scipy library. I have downloaded and installed IronPython 2.

[Ironpython-users] IronPython, Daily Digest 12/1/2011

2011-12-02 Thread no_reply
Hi ironpython, Here's your Daily Digest of new issues for project "IronPython". In today's digest:ISSUES 1. [New comment] I can't import PIL module 2. [New issue] Console color choice is bad for bright consoles -- ISSUES 1. [New comment] I can't imp