| 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']])
Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.