Latex 语法
作者:互联网
表格语法:
\renewcommand{\arraystretch}{1.3}%调行距
\setlength\tabcolsep{3pt}%调列距
算法语法:
\begin{algorithm}
\caption{Traditional numeric factorization}\label{alg1}
\begin{algorithmic}[1]
\State\textbf{Input:}
LoopFrag $A$ , LoopFrag $B$ , ... , LoopFrag $N$
\For{LoopFrag $K=1$ to $N$}
\If {Loop dimension * Computation \textless \hspace{0.5em} CPE thread overhead }
\State Up one dimension to cut the Loop K
\State Send the Loop K to the CPE
\State Create thread to accelerate Loop K
\Else
\If {sizeOf(matrix K) \textgreater \hspace{0.3em} Available LDM}
\State Create the CPE kernel to accelerate Loop
\Else
{ Cut the matrix K to LDM }
\EndIf
\EndIf
\EndFor
\end{algorithmic}
\end{algorithm}
标签:em,Latex,LoopFrag,CPE,语法,State,Loop 来源: https://www.cnblogs.com/Lzxgg-xl/p/16440038.html