On Sun, Mar 3, 2013 at 1:30 PM, gialloporpora <gialloporp...@gmail.com> wrote: > Risposta al messaggio di Rick Johnson : > > >> What are you trying to achieve exactly? > > > > I would like to implement a class (vector) to works with vectors, for > example using scalar multiplication: > a*v = [a*v1, a*vn] > and a dual class for dual vector (the only method that I'll change is the > __str__ method to print it as colun.
Have you looked at NumPy? I haven't used it myself, but I understand it's good for this sort of thing. ChrisA -- http://mail.python.org/mailman/listinfo/python-list