[Python-Dev] graphics maths types in python core?
Antoine Pitrou
solipsis at pitrou.net
Sun Apr 5 00:11:55 CEST 2009
Greg Ewing <greg.ewing <at> canterbury.ac.nz> writes:
>
> Something I've suggested before is to provide a set of
> functions for doing elementwise arithmetic operations on
> objects that support the new buffer protocol.
>
> Together with a multidimensional version of the standard
> array.array type, this would provide a kind of "numpy
> lite" that you could use to build reasonably efficient
> vector and matrix types with no external dependencies.
Again, I don't want to spoil the party, but multidimensional buffers are
not implemented, and neither are buffers of anything other than single-byte
data. Interested people should start with this, before jumping to the
higher-level stuff.
Regards
Antoine.
More information about the Python-Dev
mailing list