Dimensions of Arrays, Matrices

Dark Wind darkwind.87 at gmail.com
Wed Mar 26 14:22:21 CET 2008


Suppose we have a 3X3 matrix in Mathematica. We can get its dimensions by:
Dimensions[A]  = {3,3}
TensorRank[A] = 2

Are there exact functions for these two in Python?

Thank you
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20080326/39625fe9/attachment.html>

More information about the Python-list mailing list