calculation on lists
vlastimil.brom at gmail.com
Wed Dec 19 18:24:11 CET 2012
2012/12/19 loïc Lauréote <laureote-loic at hotmail.fr>:
> have a question,
> is there a tool to calculate on list ?
> something like :
>>b = [5,9,8,4]
>>c = a+b*a
I guess, if you are interested in effective and more complex matrix
computations, you might have a look at numpy:
Is the following the result you expect? (it seems so, based on the
(added) output of your posted code, but its incompatible with the
example in the first post).
>>> import numpy
More information about the Python-list