Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Computing the time of execution

In the following Sage's code

x=2^15467
M=random_matrix(ZZ,101)
N=M.LLL()
P=random_matrix(ZZ,50)
Q=P.LLL()

I want to compute the time of execution from the first line up to the third, and the time from the line 4 to line 5, and finaly the time of the whole code.

Computing the time of execution

In the following Sage's code

x=2^15467
M=random_matrix(ZZ,101)
N=M.LLL()
P=random_matrix(ZZ,50)
Q=P.LLL()

I want to compute the time of execution from the first line up to the third, and the time from the line 4 to line 5, and finaly finally the time of the whole code.