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

This commit is contained in:
raj_mathe committed 2021-02-09 22:26:09 +01:00
1 parent c89862d902
commit 06dc5ae6fe
2 files changed
+2 -2

No files matched your search

BIN
View File
Binary file not shown.
+2 -2
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