1 | initial version |
You can use mpmath without: from mpmath import * For example:
sage: import mpmath as mp
sage: matrix(4)
[0 0 0 0]
[0 0 0 0]
[0 0 0 0]
[0 0 0 0]
sage: mp.matrix([[1,2],[3,4]])
matrix(
[['1.0', '2.0'],
['3.0', '4.0']])
2 | No.2 Revision |
You can use mpmath without: from mpmath import *
*
For example:
sage: import mpmath as mp
sage: matrix(4)
[0 0 0 0]
[0 0 0 0]
[0 0 0 0]
[0 0 0 0]
sage: mp.matrix([[1,2],[3,4]])
matrix(
[['1.0', '2.0'],
['3.0', '4.0']])