Skip to content
Snippets Groups Projects
Commit 21439efb authored by Martin Mareš's avatar Martin Mareš
Browse files

NumPy: Drobné opravy

parent 126fb14a
No related branches found
No related tags found
No related merge requests found
...@@ -36,7 +36,7 @@ array([[1, 2, 3],\\ ...@@ -36,7 +36,7 @@ array([[1, 2, 3],\\
} }
\py{% \py{%
a.ddim \cmt{(kolikarozměrné je naše pole)} a.ndim \cmt{(kolikarozměrné je naše pole)}
}{% }{%
2 2
} }
...@@ -348,7 +348,7 @@ array([[~1,~~2,~~3,~~4],\\ ...@@ -348,7 +348,7 @@ array([[~1,~~2,~~3,~~4],\\
\begin{frame}{Vybírání prvků} \begin{frame}{Vybírání prvků}
\py{% \py{%
b = 2**np.arange(10) % 13\\ b = 2**np.arange(10) \% 13\\
b b
}{% }{%
array([ 1, 2, 4, 8, 3, 6, 12, 11, 9, 5]) array([ 1, 2, 4, 8, 3, 6, 12, 11, 9, 5])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment