master > master: Druckfehler bei octave/python Befehl in Fußnote

This commit is contained in:
RD 2021-02-09 22:26:09 +01:00
parent 13dc77c23d
commit cac760f8f5
2 changed files with 2 additions and 2 deletions

Binary file not shown.

View File

@ -1577,10 +1577,10 @@ gelten.
In \textbf{octave}, \textbf{python}, \textit{etc.}
benutzt man \texttt{\%} für Moduloberechnungen.
In \textbf{octave} gibt man bspw.
{\ttfamily (A \* [2, 1, 0, 0, 0].\textquotesingle) \% 7}
{\ttfamily (A$\ast$[2, 1, 0, 0, 0].\textquotesingle)\%7}
ein
und in \textbf{python} gibt man
{\ttfamily (np.matmul(A, [2, 1, 0, 0, 0]) \% 7}
{\ttfamily (np.matmul(A, [2, 1, 0, 0, 0])\%7}
ein (solange man konventionsgemäß numpy mittels \texttt{import numpy as np;} importiert).
}
Bei den o.\,s. Lösungen kommen