Removed template figures

This commit is contained in:
Andreas Tsouchlos 2023-02-13 22:08:28 +01:00
parent 5d375c88a9
commit ae9516d6df
2 changed files with 0 additions and 102 deletions

View File

@ -1,54 +0,0 @@
\begin{tikzpicture}[node distance = 1.5cm, auto]
% \def\dist{1.5}
% \def\power{4}
\pgfmathparse{\power-1}
\newcount\powerleq
\let\powerleq\pgfmathresult
\pgfmathparse{int(2^\power)}
\newcount\blocksize
\let\blocksize\pgfmathresult
\pgfmathparse{\blocksize-1}
\newcount\blockleq
\let\blockleq\pgfmathresult
\foreach \j in {0,...,\powerleq}{
\pgfmathparse{int(-1*\j-1)}
\let\srow\pgfmathresult
\pgfmathparse{int(-1*\j)}
\let\drow\pgfmathresult
\pgfmathparse{int(2^(\j+1))}
\let\ccsize\pgfmathresult
\pgfmathparse{int(\ccsize/2)}
\let\cchalf\pgfmathresult
\foreach \i in {0,...,\blockleq}{
\pgfmathparse{int(mod(\i,\ccsize))}
\let\n\pgfmathresult
\ifnum\n<\cchalf
\path (\dist*\drow, \i) edge [dashed] (\dist*\srow, \i+\n);
\path (\dist*\drow, \i) edge [dashed] (\dist*\srow, \i+\n+1);
\else
\pgfmathparse{int(\ccsize * int(\i / \ccsize)) + int(mod(2* (\i + \cchalf), \ccsize) )}
\let\jumpsize\pgfmathresult
\path (\dist*\drow, \i) edge (\dist*\srow, \jumpsize);
\path (\dist*\drow, \i) edge (\dist*\srow, \jumpsize+1);
\fi
}
}
\foreach \i in {0,...,\blockleq}{
\node[draw=none] at (-0.3-\dist*\power, \blockleq-\i) {$y_{\i}$};
\node[draw=none] at (0.3, \blockleq-\i) {$\hat{u}_{\i}$};
}
\foreach \i in {0,...,\power}{
\node[draw=none] at (-1*\dist*\power+\dist*\i, \blocksize-0.5) {$S_{\i}$};
}
\end{tikzpicture}

View File

@ -1,48 +0,0 @@
\usetikzlibrary[topaths, calc]
\begin{tikzpicture}[transform shape]
% \def\dist{1.5}
% \def\power{3}
\pgfmathparse{\power-1}
\newcount\powerleq
\let\powerleq\pgfmathresult
\pgfmathparse{int(2^\power)}
\newcount\blocksize
\let\blocksize\pgfmathresult
\pgfmathparse{\blocksize-1}
\newcount\blockleq
\let\blockleq\pgfmathresult
\foreach \j in {0,...,\powerleq}{
\pgfmathparse{int(\j+1)}
\let\drow\pgfmathresult
\pgfmathparse{int(2^(\j+1))}
\let\ccsize\pgfmathresult
\pgfmathparse{int(\ccsize/2)}
\let\cchalf\pgfmathresult
\foreach \i in {0,...,\blockleq}{
\pgfmathparse{int(mod(\i,2))}
\let\n\pgfmathresult
\pgfmathparse{int(\ccsize * int(\i / \ccsize))}
\let\dblock\pgfmathresult
\pgfmathparse{\dblock + int(mod(\i, \ccsize) / 2) + \cchalf}%(\ccsize * int(\i / \ccsize)) + int(mod(2* (\i + \cchalf), \ccsize)) + 1}
\let\dest\pgfmathresult
\path (\dist*\j, \i) edge (\dist*\drow, \dest);
\ifnum\n=0
\path (\dist*\j, \i) edge [dashed] (\dist*\drow, \dest-\cchalf);
\fi
}
}
\foreach \i in {0,...,\blockleq}{
\node[draw=none] at (-0.3, \blockleq-\i) {$u_{\i}$};
\node[draw=none] at (\dist*\power+0.3, \blockleq-\i) {$x_{\i}$};
}
\end{tikzpicture}