vector?

Konrad Hinsen hinsen at cnrs-orleans.fr
Tue Nov 2 11:05:06 CET 1999


"Mona Wong" <mona at eel.ucsd.edu> writes:

> 	Anyway, to make vectors using python, is there a module or should I
> just make it out of arrays?

It depends on what you mean by "vector". If you mean a collection of
numbers with associated arithmetic etc., these are just 1-dimensional
arrays as implemented in Numerical Python. If you mean vectors as used
in geometrical calculations, you can find an implementation in my
ScientificPython package
(http://starship.python.net/crew/hinsen/scientific.html), along with
other classes that are useful for geometry (tensors and linear
transforms).
-- 
-------------------------------------------------------------------------------
Konrad Hinsen                            | E-Mail: hinsen at cnrs-orleans.fr
Centre de Biophysique Moleculaire (CNRS) | Tel.: +33-2.38.25.55.69
Rue Charles Sadron                       | Fax:  +33-2.38.63.15.17
45071 Orleans Cedex 2                    | Deutsch/Esperanto/English/
France                                   | Nederlands/Francais
-------------------------------------------------------------------------------




More information about the Python-list mailing list