[IronPython] IronPython 0.7.2 Released

Keith J. Farmer kfarmer at thuban.org
Wed Apr 13 10:18:03 CEST 2005


Same verified in MS beta:

IronPython 0.7.2 on .NET 2.0.40607.42
Copyright (c) Microsoft Corporation. All rights reserved.
>>> import sys
>>> sys.LoadAssemblyFromFile("Mapack.dll")
>>> from Mapack import *
>>> a = Matrix.Random(3,3)
>>> a
0.805084117131813 0.256781293664491 0.696419091288195
0.985639146056789 0.0990895573511205 0.659152610534407
0.0564137879090448 0.647960312500578 0.733555638572925

>>> a.Inverse
17.2325124553564 -12.7822032611854 -4.87437875024199
33.3468034134656 -26.8047193679194 -7.57263592898315
-30.7809732161662 24.6600065362538 8.42710407628743

>>> a * a.Inverse
IronPython.Objects.PythonTypeError: unsupported operand type(s) for *:
'Mapack.Matrix' and 'Mapack.Matrix'
   at IronPython.Objects.Ops.Multiply(Object x, Object y)
   at input_6.Run(Frame frame)
   at IronPython.Hosting.PythonEngine.DoOneInteractive(Frame topFrame)
   at IronPython.Hosting.PythonEngine.RunInteractive()



More information about the Ironpython-users mailing list