On 11 Des, 01:54, mosi <[EMAIL PROTECTED]> wrote:

> Python matrices are usually defined with numpy scipy array or similar.
> e.g.>>> matrix1 = [[1, 2], [3, 4], [5, 6]]

That is a list of Python lists, not a NumPy array or matrix.


> For example:>>> matrix + 2
>
> [ 3, 4;
>   5, 6;
>   7, 8;]
>
> Possibly with operator overloading?

Go and get NumPy: www.scipy.org

Then buy Travis Oliphant's book.




-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to