Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

One approach is to use numpy arrays. For example...

import numpy as np
a = np.array([[1,e,3.3],[4.5,5.6,7.8]])
print log(a)
print np.log(a)