| 1 | initial version |
It seems that most efficient is A.apply_map(ZZ,ZZ).
| 2 | No.2 Revision |
It seems that most efficient is A.apply_map(ZZ,ZZ).
Note this will not work if you have non-integers in the matrix, then you can use A.apply_map(int,ZZ) or A.apply_map(round,ZZ) to round the entries.
| 3 | No.3 Revision |
It seems that most efficient is A.apply_map(ZZ,ZZ). (in terms of running time).
Note this will not work if you have non-integers in the matrix, then you can use A.apply_map(int,ZZ) or A.apply_map(round,ZZ) to round the entries.
| 4 | No.4 Revision |
It seems that most efficient method is A.apply_map(ZZ,ZZ) (in terms of running time).
Note this will not work if you have non-integers in the matrix, then you can use A.apply_map(int,ZZ) or A.apply_map(round,ZZ) to round the entries.
| 5 | No.5 Revision |
It seems that the most efficient method is A.apply_map(ZZ,ZZ) (in terms of running time).
Note this will not work if you have non-integers in the matrix, then you can use A.apply_map(int,ZZ) or A.apply_map(round,ZZ) to round the entries.
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.