this is for holding javascript data
Matthew Retchin edited Math.tex
over 9 years ago
Commit id: 4658f4cc64b35d8535b60a9968c135e57ece4542
deletions | additions
diff --git a/Math.tex b/Math.tex
index da247ef..82aa18d 100644
--- a/Math.tex
+++ b/Math.tex
...
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