sage: import numpy
sage: numpy.array([[1,2,3],[4,5,6],[7,8,9]],'f')

array([[ 1.,  2.,  3.],
       [ 4.,  5.,  6.],
       [ 7.,  8.,  9.]], dtype=float32)
sage: a=numpy.array([[1,2,3],[4,5,6],[7,8,9]],'f')
sage: matrix(a)

[     2.00000047311      512.000122547       8192.0019722]
[     131072.031677 9.87267348858e-312 1.48958728182e-263]
[6.36598737141e-314  6.6976282025e-316 3.40280828847e-313]
sage:


--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://sage.math.washington.edu/sage/ and http://sage.scipy.org/sage/
-~----------~----~----~----~------~----~------~--~---

Reply via email to