How to measure clock cycles in the following matrix multiplication?
A = zero_matrix(ZZ,100)
B = zero_matrix(ZZ,100)
for i in range(100):
for j in range(100):
A[i,j] = ZZ.random_element(1000) B[i,j] = ZZ.random_element(1000)C=A*B
| 1 | initial version |
How to measure clock cycles in the following matrix multiplication?
A = zero_matrix(ZZ,100)
B = zero_matrix(ZZ,100)
for i in range(100):
for j in range(100):
A[i,j] = ZZ.random_element(1000) B[i,j] = ZZ.random_element(1000)C=A*B
How to measure clock cycles in the following matrix multiplication?
A = C=A*B
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.