diff --git a/numpy/numpy-cs.pdf b/numpy/numpy-cs.pdf index 864394e..67c337c 100644 Binary files a/numpy/numpy-cs.pdf and b/numpy/numpy-cs.pdf differ diff --git a/numpy/numpy-cs.svg b/numpy/numpy-cs.svg index e6deb58..eb28eb2 100644 --- a/numpy/numpy-cs.svg +++ b/numpy/numpy-cs.svg @@ -1,8 +1,5 @@ - - NumPy cheat sheet @@ -2133,6 +2130,10 @@ id="path13778" d="m 118,40 h 16 v 16 h -16 z" /> + + + inkscape:guide-bbox="true" + inkscape:document-rotation="0"> Detailní povídání o NumPy: http://naucse.python.cz/course/mi-pyt/intro/numpy/ + + + © 2017 Miro Hrončok a Petr Viktorin. Ke stažení na https://github.com/pyvec/cheatsheetsŠířeno pod licencí CC BY-SA: https://creativecommons.org/licenses/by-sa/4.0/Ukázky kódu šířeny pod licencí CC0: https://creativecommons.org/publicdomain/zero/1.0/Logo NumPy © 2005–2020 NumPy Developers, BSD 3-clause License: https://github.com/numpy/numpy/blob/master/LICENSE.txt - - - © 2017 Miro Hrončok a Petr Viktorin. Ke stažení na https://github.com/pyvec/cheatsheetsŠířeno pod licencí CC BY-SA: https://creativecommons.org/licenses/by-sa/4.0/Ukázky kódu šířeny pod licencí CC0: https://creativecommons.org/publicdomain/zero/1.0/Logo NumPy © 2005–2017 NumPy Developers, BSD 3-clause License: https://github.com/numpy/numpy/blob/master/LICENSE.txt + id="g17466" + transform="matrix(1.4916626,0,0,1.4916626,-501.76196,-521.8124)"> + transform="matrix(0.23622046,0,0,0.23622046,992.12605,1015.2308)" + inkscape:label="Layer 1" + id="layer1-5-7" + style="opacity:1"> + transform="matrix(1.064765,0,0,1.0646458,-198.95796,-80.858434)" + id="g287-0" + inkscape:export-filename="/mnt/hgfs/Bov/Documents/Work/2007/cc/identity/srr buttons/big/by-sa.png" + inkscape:export-xdpi="300.23013" + inkscape:export-ydpi="300.23013"> + - - - - - - - + id="g5908_2_-8" + transform="matrix(0.872921,0,0,0.872921,50.12536,143.2144)"> - - - - - - - - - - - - - - - + id="path5906_2_-8" + cx="296.35416" + ry="22.939548" + cy="264.3577" + type="arc" + rx="22.939548" + d="m 187.20944,-55.6792 c 0.006,8.68024 -7.02786,15.72095 -15.7081,15.72708 -8.68021,0.005 -15.72205,-7.02786 -15.72708,-15.70804 0,-0.0067 0,-0.01233 0,-0.01904 -0.005,-8.68134 7.02783,-15.72205 15.70807,-15.72711 8.68134,-0.0056 15.72208,7.02789 15.72711,15.70807 0,0.0056 0,0.01233 0,0.01904 z" + style="fill:#ffffff" /> - - - - - + id="g5706_2_-1" + transform="translate(-289.6157,99.0653)"> + id="path5708_2_-5" + d="m 473.88455,-167.54724 c 3.48541,3.48596 5.22839,7.75391 5.22839,12.80273 0,5.04938 -1.7128,9.27148 -5.13834,12.66736 -3.63531,3.5766 -7.93179,5.36432 -12.88947,5.36432 -4.89777,0 -9.11987,-1.77261 -12.6651,-5.31955 -3.54584,-3.54581 -5.31845,-7.78299 -5.31845,-12.71213 0,-4.92859 1.77261,-9.19598 5.31845,-12.80273 3.4552,-3.48651 7.67725,-5.22894 12.6651,-5.22894 5.04829,0 9.31401,1.74243 12.79942,5.22894 z m -23.11798,2.34485 c -2.94675,2.97638 -4.41956,6.46289 -4.41956,10.46234 0,3.99835 1.45828,7.4552 4.37424,10.37067 2.91653,2.9165 6.38849,4.37476 10.41705,4.37476 4.02853,0 7.53018,-1.47281 10.50656,-4.41901 2.8259,-2.73584 4.23941,-6.17706 4.23941,-10.32642 0,-4.11804 -1.43646,-7.61292 -4.30768,-10.48474 -2.87064,-2.87067 -6.34988,-4.30652 -10.43829,-4.30652 -4.08837,0 -7.54638,1.44318 -10.37173,4.32892 z m 7.75449,8.70312 c -0.45032,-0.98163 -1.12433,-1.47223 -2.02325,-1.47223 -1.58914,0 -2.38342,1.06952 -2.38342,3.2085 0,2.13959 0.79428,3.20911 2.38342,3.20911 1.04938,0 1.79895,-0.5213 2.24866,-1.56512 l 2.20276,1.17303 c -1.04993,1.86548 -2.62506,2.79901 -4.72549,2.79901 -1.6199,0 -2.91763,-0.4967 -3.89206,-1.48956 -0.97607,-0.99341 -1.46274,-2.36273 -1.46274,-4.10797 0,-1.71558 0.50229,-3.07709 1.50748,-4.08563 1.00519,-1.00793 2.25705,-1.51251 3.75781,-1.51251 2.22012,0 3.80984,0.87488 4.77081,2.62286 z m 10.36334,0 c -0.45087,-0.98163 -1.11148,-1.47223 -1.98239,-1.47223 -1.62106,0 -2.43213,1.06952 -2.43213,3.2085 0,2.13959 0.81107,3.20911 2.43213,3.20911 1.05103,0 1.78717,-0.5213 2.20724,-1.56512 l 2.25201,1.17303 c -1.04825,1.86548 -2.62119,2.79901 -4.71768,2.79901 -1.61771,0 -2.91263,-0.4967 -3.88647,-1.48956 -0.97217,-0.99341 -1.45938,-2.36273 -1.45938,-4.10797 0,-1.71558 0.49448,-3.07709 1.48288,-4.08563 0.98782,-1.00793 2.24527,-1.51251 3.77347,-1.51251 2.21619,0 3.80368,0.87488 4.76132,2.62286 z" /> - - + d="M 297.29639,74.91064 H 181.06688 c -1.24658,0 -2.26074,1.01465 -2.26074,2.26123 v 39.49561 c 0,0.28174 0.22852,0.51074 0.51025,0.51074 h 119.73 c 0.28174,0 0.51074,-0.229 0.51074,-0.51074 v -39.4956 c 0,-1.24659 -1.01416,-2.26124 -2.26074,-2.26124 z m -116.22951,1.02149 h 116.22951 c 0.68359,0 1.23926,0.55615 1.23926,1.23975 0,0 0,15.91943 0,27.41846 H 215.4619 c -3.04492,5.50537 -8.91113,9.24365 -15.64355,9.24365 -6.73535,0 -12.6001,-3.73486 -15.64355,-9.24365 h -4.34814 c 0,-11.49902 0,-27.41846 0,-27.41846 -2e-5,-0.6836 0.55663,-1.23975 1.24022,-1.23975 z" + id="path294-6" /> - - - - + enable-background="new " + id="g296-3"> - - - - - + + + + - + + + + + + + + + + + d="m 242.53467,78.31836 c -3.23145,0 -5.96826,1.12744 -8.20752,3.38379 -2.29785,2.33301 -3.44629,5.09521 -3.44629,8.28418 0,3.18897 1.14844,5.93213 3.44629,8.22705 2.29785,2.29443 5.03418,3.44189 8.20752,3.44189 3.21289,0 5.99805,-1.15674 8.35352,-3.47168 2.2207,-2.19678 3.33008,-4.92969 3.33008,-8.19727 0,-3.26758 -1.12891,-6.02881 -3.3877,-8.28418 -2.25879,-2.25634 -5.02442,-3.38378 -8.2959,-3.38378 z m 0.0293,2.09961 c 2.64844,0 4.89746,0.93359 6.74707,2.80078 1.87012,1.84717 2.80469,4.10352 2.80469,6.76758 0,2.68359 -0.91504,4.91113 -2.74609,6.68066 -1.92773,1.90576 -4.19629,2.8584 -6.80566,2.8584 -2.60937,0 -4.8584,-0.94287 -6.74658,-2.82959 -1.88965,-1.88623 -2.8335,-4.12256 -2.8335,-6.70947 0,-2.58643 0.9541,-4.84229 2.8623,-6.76758 1.83057,-1.86719 4.07031,-2.80078 6.71777,-2.80078 z" + id="path323-8" + style="clip-rule:evenodd;fill-rule:evenodd" /> + + + + + + + + + - - - - - + style="fill:#ffffff" /> + + + + + + + + + + + + + + + + + @@ -2543,7 +2531,7 @@ x="60.236225" style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:0%;font-family:'Oxygen Mono';-inkscape-font-specification:'Oxygen Mono';text-align:start;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" xml:space="preserve">Tvorba polí + style="font-size:14.0004px;line-height:1.25;stroke-width:1.12003px">Tvorba polí numpy.zeros((3, 3)) + style="font-size:11.25px;line-height:1.26">numpy.zeros((3, 3)) 2×2×2 z jedniček + style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11.25px;line-height:1.26;font-family:Oxygen;-inkscape-font-specification:Oxygen">2×2×2 z jedniček numpy.linspace(0, 13, num=6) pro floaty numpy.zeros((3, 3), dtype=int)numpy.zeros((3, 3), dtype=int)intint, float'int8''int8', 'uint64'('U', 8)('U', 8)('a', 3)('a', 3)a.astype(float) + style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11.25px;line-height:1.19;font-family:'Oxygen mono';-inkscape-font-specification:'Oxygen mono'">a.astype(float) parametr parametr dtype určuje typtypy z Pythonuspecifikace řetězcemspecifikace řetězcemtext, max 8 Unicode znakůřetězec bytů, max 3 bytyřetězec bytů, max 3 bytyvrací pole daného typu + style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11.25px;line-height:1.26;font-family:Oxygen;-inkscape-font-specification:Oxygen">vrací pole daného typu a.shapea.shapea.sizea.sizea.dtypea.dtypea.ndim + style="font-size:11.25px;line-height:1.26">a.ndim tvar (velikost)tvar (velikost)počet prvkůpočet prvkůtyptypdimenze + style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11.25px;line-height:1.26;font-family:Oxygen;-inkscape-font-specification:Oxygen">dimenze Atributy + style="font-size:14.0004px;line-height:1.25;stroke-width:1.12003px">Atributy + - * / // ...+= -= *= /= ...> >= < <= == ...a @ bpo prvcíchmodifikuje původnívrací pravdivostní tabulkumaticové násobenítransponovaná matice matrix[0]matrix[0]matrix[0:-1:2]matrix[0:-1:2]matrix[0][1]matrix[0][1] + y="520.87152" /> první „řádek“první „řádek“řezání jako v seznamechřezání jako v seznamechjako se seznamem seznamů (pomalé) + style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11.25px;line-height:1.26;font-family:Oxygen;-inkscape-font-specification:Oxygen">jako se seznamem seznamů (pomalé) array[array > 4]array[array > 4]array[(array > 4) & (array < 8)]array[(array < 4) | (array > 8)] vrátí vektor hodnotvrátí vektor hodnotskládání pomocí bitových operátorů if matrix:if matrix.any():if matrix.all(): @@ -3122,28 +3098,28 @@ x="708.21338" y="903.96814" id="text17486">ValueErroralespoň jedna pravdivá hodnotavšechny pravdivé hodnoty 0 + style="font-size:11.0011px;line-height:1.26;text-align:center;text-anchor:middle;stroke-width:0.977873px">0 0 + style="font-size:11.0011px;line-height:1.26;text-align:center;text-anchor:middle;stroke-width:0.977873px">0 0 + style="font-size:11.0011px;line-height:1.26;text-align:center;text-anchor:middle;stroke-width:0.977873px">0 0 + style="font-size:11.0011px;line-height:1.26;text-align:center;text-anchor:middle;stroke-width:0.977873px">0 0 + style="font-size:11.0011px;line-height:1.26;text-align:center;text-anchor:middle;stroke-width:0.977873px">0 1 + style="font-size:11.0011px;line-height:1.26;text-align:center;text-anchor:middle;stroke-width:0.977873px">1 + style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11.7345px;line-height:0%;font-family:'Oxygen Mono';-inkscape-font-specification:'Oxygen Mono';text-align:start;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.977873px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + xml:space="preserve" /> @@ -3610,7 +3581,7 @@ style="fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:0.64218748;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" /> 1 + style="font-size:11.0011px;line-height:1.26;text-align:center;text-anchor:middle;stroke-width:0.977873px">1 @@ -3635,7 +3606,7 @@ id="g21923"> 7 + style="font-size:11.0011px;line-height:1.26;text-align:center;text-anchor:middle;stroke-width:0.977873px">7 7 + style="font-size:11.0011px;line-height:1.26;text-align:center;text-anchor:middle;stroke-width:0.977873px">7 .4 + style="font-size:11.0011px;line-height:1.26;text-align:center;letter-spacing:-1.875px;text-anchor:middle;stroke-width:0.977873px">.4 .8 + style="font-size:11.0011px;line-height:1.26;text-align:center;letter-spacing:-1.875px;text-anchor:middle;stroke-width:0.977873px">.8 .9 + style="font-size:11.0011px;line-height:1.26;text-align:center;letter-spacing:-1.875px;text-anchor:middle;stroke-width:0.977873px">.9 .4 + style="font-size:11.0011px;line-height:1.26;text-align:center;letter-spacing:-1.875px;text-anchor:middle;stroke-width:0.977873px">.4 1 + style="font-size:11.0011px;line-height:1.26;text-align:center;text-anchor:middle;stroke-width:0.977873px">1 0 + style="font-size:11.0011px;line-height:1.26;text-align:center;text-anchor:middle;stroke-width:0.977873px">0 0 + style="font-size:11.0011px;line-height:1.26;text-align:center;text-anchor:middle;stroke-width:0.977873px">0 0 + style="font-size:11.0011px;line-height:1.26;text-align:center;text-anchor:middle;stroke-width:0.977873px">0 1 + style="font-size:11.0011px;line-height:1.26;text-align:center;text-anchor:middle;stroke-width:0.977873px">1 0 + style="font-size:11.0011px;line-height:1.26;text-align:center;text-anchor:middle;stroke-width:0.977873px">0 0 + style="font-size:11.0011px;line-height:1.26;text-align:center;text-anchor:middle;stroke-width:0.977873px">0 1 + style="font-size:11.0011px;line-height:1.26;text-align:center;text-anchor:middle;stroke-width:0.977873px">1 0 + style="font-size:11.0011px;line-height:1.26;text-align:center;text-anchor:middle;stroke-width:0.977873px">0 0 + style="font-size:11.0011px;line-height:1.26;text-align:center;text-anchor:middle;stroke-width:0.977873px">0 2 + style="font-size:11.0011px;line-height:1.26;text-align:center;text-anchor:middle;stroke-width:0.977873px">2 0 + style="font-size:11.0011px;line-height:1.26;text-align:center;text-anchor:middle;stroke-width:0.977873px">0 0 + style="font-size:11.0011px;line-height:1.26;text-align:center;text-anchor:middle;stroke-width:0.977873px">0 0 + style="font-size:11.0011px;line-height:1.26;text-align:center;text-anchor:middle;stroke-width:0.977873px">0 0 + style="font-size:11.0011px;line-height:1.26;text-align:center;text-anchor:middle;stroke-width:0.977873px">0 0 + style="font-size:11.0011px;line-height:1.26;text-align:center;text-anchor:middle;stroke-width:0.977873px">0 2.6 + style="font-size:11.0011px;line-height:1.26;text-align:center;letter-spacing:-1.875px;text-anchor:middle;stroke-width:0.977873px">2.6 7.8 + style="font-size:11.0011px;line-height:1.26;text-align:center;letter-spacing:-1.875px;text-anchor:middle;stroke-width:0.977873px">7.8 13. + style="font-size:11.0011px;line-height:1.26;text-align:center;letter-spacing:-1.875px;text-anchor:middle;stroke-width:0.977873px">13. + style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11.7345px;line-height:0%;font-family:'Oxygen Mono';-inkscape-font-specification:'Oxygen Mono';text-align:start;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:0.977873px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + xml:space="preserve" /> - - - NumPy - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -13859,9 +5253,9 @@ id="text18552" y="425.09647" x="262.16693" - style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11.73448181px;line-height:0%;font-family:'Oxygen Mono';-inkscape-font-specification:'Oxygen Mono';text-align:start;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.97787344px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11.7345px;line-height:0%;font-family:'Oxygen Mono';-inkscape-font-specification:'Oxygen Mono';text-align:start;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.977873px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" xml:space="preserve"> 3 + style="font-size:11.0011px;line-height:1.26;text-align:center;text-anchor:middle;stroke-width:0.977873px">3 3 + style="font-size:11.0011px;line-height:1.26;text-align:center;text-anchor:middle;stroke-width:0.977873px">3 4 + style="font-size:11.0011px;line-height:1.26;text-align:center;text-anchor:middle;stroke-width:0.977873px">4 5 + style="font-size:11.0011px;line-height:1.26;text-align:center;text-anchor:middle;stroke-width:0.977873px">5 4 + style="font-size:11.0011px;line-height:1.26;text-align:center;text-anchor:middle;stroke-width:0.977873px">4 1 + style="font-size:11.0011px;line-height:1.26;text-align:center;text-anchor:middle;stroke-width:0.977873px">1 + transform="translate(-31.237979,-5.3858622)" /> @@ -14312,9 +5701,9 @@ id="text21627" y="364.5007" x="109.61095" - style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11.73448181px;line-height:0%;font-family:'Oxygen Mono';-inkscape-font-specification:'Oxygen Mono';text-align:start;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.97787344px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11.7345px;line-height:0%;font-family:'Oxygen Mono';-inkscape-font-specification:'Oxygen Mono';text-align:start;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.977873px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" xml:space="preserve">numpy.array([[1, 2, 3],numpy.array([[[1, 2], [3, 4]],numpy.array([[[1, 2], [3, 4]], [[5, 6], [7, 8]]]) 3×3 z nul + style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11.25px;line-height:1.26;font-family:Oxygen;-inkscape-font-specification:Oxygen">3×3 z nul numpy.ones((2, 2, 2)) + style="font-size:11.25px;line-height:1.26">numpy.ones((2, 2, 2)) numpy.full((2, 2), 7) + style="font-size:11.25px;line-height:1.26">numpy.full((2, 2), 7) 2×2 z konkrétní hodnoty + style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11.25px;line-height:1.26;font-family:Oxygen;-inkscape-font-specification:Oxygen">2×2 z konkrétní hodnoty numpy.random.random((4, 2)) + style="font-size:11.25px;line-height:1.26">numpy.random.random((4, 2)) 4×2 náhodné hodnoty ⟨0, 1) + style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11.25px;line-height:1.26;font-family:Oxygen;-inkscape-font-specification:Oxygen">4×2 náhodné hodnoty ⟨0, 1) numpy.eye(4) + style="font-size:11.25px;line-height:1.26">numpy.eye(4) jednotková + style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11.25px;line-height:1.26;font-family:Oxygen;-inkscape-font-specification:Oxygen">jednotková numpy.diag([1, 2, 3, 4]) + style="font-size:11.25px;line-height:1.26">numpy.diag([1, 2, 3, 4]) numpy.arange(0, 10, 2) @@ -14472,7 +5861,7 @@ y="953.1496" id="text4868">jako 4 + style="font-size:11.0011px;line-height:1.26;text-align:center;text-anchor:middle;stroke-width:0.977873px">4 6 + style="font-size:11.0011px;line-height:1.26;text-align:center;text-anchor:middle;stroke-width:0.977873px">6 0 + style="font-size:11.0011px;line-height:1.26;text-align:center;text-anchor:middle;stroke-width:0.977873px">0 2D ze seznamu seznamů + style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11.25px;line-height:1.26;font-family:Oxygen;-inkscape-font-specification:Oxygen">2D ze seznamu seznamů cube[:, :, 0] + style="font-size:11.25px;line-height:1.26">cube[:, :, 0] cube[..., 0] výpustka nahradí kompletníintervaly Strana 1/2 @@ -14744,6 +6133,67 @@ y="590.65448" x="270.09009" sodipodi:role="line" - style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11.25px;line-height:1.25999999;font-family:Oxygen;-inkscape-font-specification:Oxygen">a tak dále, počet dimezní není omezený + style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11.25px;line-height:1.26;font-family:Oxygen;-inkscape-font-specification:Oxygen">a tak dále, počet dimezní není omezený + + + + + + + + + + + + + + + +