Matthew Retchin edited Math.tex  over 9 years ago

Commit id: 4658f4cc64b35d8535b60a9968c135e57ece4542

deletions | additions      

       

A pseudorandom integer was calculated for the ratio of the volume of the SAP, expressed in the following pseudocode:  \begin{lstlisting}[language=python]  tumor_length = randint(int(0.1 * matrix.area), int(0.9 * matrix.area))  coord = [randint(1, matrix.m), random.randint(1, randint(1,  matrix.n)] for i in range(0, matrix.tumor_length): tumor_length):  direction = randint(1, 4)  if direction == UP:  coord[1] -= 1