Fork of: Matfunc.Py is a 100% pure Python module for vector, matrix, and table math operations which runs on Python 2.1 or later. It neither conflicts with nor requires NumPy. Matfunc.py was written by Raymond Hettinger in 2001 and placed in the Public Domain.