{VERSION 3 0 "IBM INTEL LINUX" "3.0" } {USTYLETAB {CSTYLE "Maple Input" -1 0 "Courier" 0 1 255 0 0 1 0 1 0 0 1 0 0 0 0 }{CSTYLE "2D Math" -1 2 "Times" 0 1 0 0 0 0 0 0 2 0 0 0 0 0 0 }{CSTYLE "2D Output" 2 20 "" 0 1 0 0 255 1 0 0 0 0 0 0 0 0 0 } {CSTYLE "" -1 256 "" 0 1 0 0 0 0 0 1 0 0 0 0 0 0 0 }{CSTYLE "" -1 257 "" 0 1 0 0 0 0 0 1 0 0 0 0 0 0 0 }{CSTYLE "" -1 258 "" 0 1 0 0 0 0 0 1 0 0 0 0 0 0 0 }{CSTYLE "" -1 259 "" 0 1 0 0 0 0 0 1 0 0 0 0 0 0 0 } {CSTYLE "" -1 260 "" 0 1 0 0 0 0 0 1 0 0 0 0 0 0 0 }{CSTYLE "" -1 261 "" 0 1 0 0 0 0 0 1 0 0 0 0 0 0 0 }{CSTYLE "" -1 262 "" 0 1 0 0 0 0 0 1 0 0 0 0 0 0 0 }{CSTYLE "" -1 263 "" 0 1 0 0 0 0 0 1 0 0 0 0 0 0 0 } {CSTYLE "" -1 264 "" 0 1 0 0 0 0 0 1 0 0 0 0 0 0 0 }{CSTYLE "" -1 265 "" 0 1 0 0 0 0 0 1 0 0 0 0 0 0 0 }{PSTYLE "Normal" -1 0 1 {CSTYLE "" -1 -1 "Times" 1 24 0 0 0 0 2 2 2 0 0 0 0 0 0 }0 0 0 -1 -1 -1 0 0 0 0 0 0 -1 0 }{PSTYLE "Text Output" -1 2 1 {CSTYLE "" -1 -1 "Courier" 1 10 0 0 255 1 0 0 0 0 0 1 3 0 3 }1 0 0 -1 -1 -1 0 0 0 0 0 0 -1 0 } {PSTYLE "Heading 1" 0 3 1 {CSTYLE "" -1 -1 "" 1 18 0 0 0 0 0 1 0 0 0 0 0 0 0 }1 0 0 0 8 4 0 0 0 0 0 0 -1 0 }{PSTYLE "Warning" 2 7 1 {CSTYLE "" -1 -1 "" 0 1 0 0 255 1 0 0 0 0 0 0 1 0 0 }0 0 0 -1 -1 -1 0 0 0 0 0 0 -1 0 }{PSTYLE "Error" 7 8 1 {CSTYLE "" -1 -1 "" 0 1 255 0 255 1 0 0 0 0 0 0 0 0 0 }0 0 0 -1 -1 -1 0 0 0 0 0 0 -1 0 }{PSTYLE "Map le Output" 0 11 1 {CSTYLE "" -1 -1 "" 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 } 3 3 0 -1 -1 -1 0 0 0 0 0 0 -1 0 }{PSTYLE "" 11 12 1 {CSTYLE "" -1 -1 " " 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 }1 0 0 -1 -1 -1 0 0 0 0 0 0 -1 0 } {PSTYLE "Maple Plot" 0 13 1 {CSTYLE "" -1 -1 "" 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 }3 0 0 -1 -1 -1 0 0 0 0 0 0 -1 0 }{PSTYLE "Title" 0 18 1 {CSTYLE "" -1 -1 "" 1 18 0 0 0 0 0 1 1 0 0 0 0 0 0 }3 0 0 -1 12 12 0 0 0 0 0 0 19 0 }{PSTYLE "R3 Font 0" -1 256 1 {CSTYLE "" -1 -1 "Helveti ca" 1 24 0 0 0 0 2 1 2 0 0 0 0 0 0 }0 0 0 -1 -1 -1 0 0 0 0 0 0 -1 0 } {PSTYLE "R3 Font 2" -1 257 1 {CSTYLE "" -1 -1 "Courier" 1 14 0 0 0 0 2 2 2 0 0 0 0 0 0 }0 0 0 -1 -1 -1 0 0 0 0 0 0 -1 0 }} {SECT 0 {EXCHG {PARA 18 "" 0 "" {TEXT -1 11 "DATOVE TYPY" }}}{SECT 1 {PARA 3 "" 0 "" {TEXT -1 11 "Posloupnost" }}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 27 "#typ posloupnost (sequence)" }}}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 29 "polynomial:=x^3-6*x^2+11*x-6;" }}{PARA 11 "" 1 " " {XPPMATH 20 "6#>%+polynomialG,**$)%\"xG\"\"$\"\"\"\"\"\"*$)F(\"\"#F* !\"'F(\"#6F/F+" }}}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 25 "sequence: =op(polynomial);" }}{PARA 11 "" 1 "" {XPPMATH 20 "6#>%)sequenceG6&*$)% \"xG\"\"$\"\"\",$*$)F(\"\"#F*!\"',$F(\"#6F/" }}}{EXCHG {PARA 0 "" 0 " " {TEXT -1 74 "Jedntlive objekty jsou oddeleny carkami, objekty nemusi byt stejneho typu." }}{PARA 0 "> " 0 "" {MPLTEXT 1 0 19 "whattype(seq uence);" }}{PARA 11 "" 1 "" {XPPMATH 20 "6#%(exprseqG" }}}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 15 "s:=1,4,9,16,25;" }}{PARA 11 "" 1 " " {XPPMATH 20 "6#>%\"sG6'\"\"\"\"\"%\"\"*\"#;\"#D" }}}{EXCHG {PARA 0 " > " 0 "" {MPLTEXT 1 0 17 "t:=sin, cos, tan;" }}{PARA 11 "" 1 "" {XPPMATH 20 "6#>%\"tG6%%$sinG%$cosG%$tanG" }}}{EXCHG {PARA 0 "> " 0 " " {MPLTEXT 1 0 4 "s,s;" }}{PARA 11 "" 1 "" {XPPMATH 20 "6,\"\"\"\"\"% \"\"*\"#;\"#DF#F$F%F&F'" }}}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 33 " empty:=NULL; #prazdna posloupnost" }}{PARA 11 "" 1 "" {XPPMATH 20 "6#> %&emptyG6\"" }}}{EXCHG {PARA 0 "" 0 "" {TEXT -1 8 "Prikazy " }{TEXT 257 2 "op" }{TEXT -1 3 " a " }{TEXT 258 5 "nops " }{TEXT -1 35 "nemuze me aplikovat na posloupnosti." }}}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 6 "op(s);" }}{PARA 8 "" 1 "" {TEXT -1 58 "Error, wrong number (or ty pe) of parameters in function op" }}}{EXCHG {PARA 0 "" 0 "" {TEXT -1 69 "Posloupnosti muzeme vytvaret (generovat) pomoci funkce seq:\nSynta xe: " }{TEXT 259 3 "seq" }{TEXT -1 60 "(f(i), i=m..n); generuje poslou pnost f(m), f(m+1), .., f(n)." }}}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 17 "seq(i^2, i=1..5);" }}{PARA 11 "" 1 "" {XPPMATH 20 "6'\"\"\"\"\"% \"\"*\"#;\"#D" }}}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 25 "seq(ithpri me(i), i=1..9);" }}{PARA 11 "" 1 "" {XPPMATH 20 "6+\"\"#\"\"$\"\"&\"\" (\"#6\"#8\"#<\"#>\"#B" }}}{EXCHG {PARA 0 "" 0 "" {TEXT -1 30 "(generuj e prvnich 9 prvocisel)" }}{PARA 0 "" 0 "" {TEXT -1 55 "Alternativne mu zeme pouzit posloupnostniho operatoru $:" }}{PARA 0 "> " 0 "" {MPLTEXT 1 0 4 "x$4;" }}{PARA 11 "" 1 "" {XPPMATH 20 "6&%\"xGF#F#F#" } }}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 32 "seq(seq([i,j], i=1..2), j= 3..4);" }}{PARA 11 "" 1 "" {XPPMATH 20 "6&7$\"\"\"\"\"$7$\"\"#F%7$F$\" \"%7$F'F)" }}}{EXCHG {PARA 0 "" 0 "" {TEXT -1 7 "Volani " }{TEXT 260 3 "seq" }{TEXT -1 102 "(f(i), i=vyraz) generuje posloupnost aplikaci f na kazdy operand vyrazu. Prikaz je ekvivalentni volani" }}{PARA 0 "" 0 "" {TEXT -1 30 "seq(f(op(i,a)), i=1..nops(a))." }}{PARA 0 "> " 0 "" {MPLTEXT 1 0 18 "seq(i^2, i=x+y+z);" }}{PARA 11 "" 1 "" {XPPMATH 20 "6 %*$)%\"xG\"\"#\"\"\"*$)%\"yGF&F'*$)%\"zGF&F'" }}}{PARA 0 "" 0 "" {TEXT -1 65 "Jednotlive cleny posloupnosti muzeme vybirat pomoci opera toru []." }}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 0 "" }}{PARA 0 "> " 0 "" {MPLTEXT 1 0 5 "%[2];" }}{PARA 11 "" 1 "" {XPPMATH 20 "6#*$)%\"yG \"\"#\"\"\"" }}}{PARA 0 "" 0 "" {TEXT -1 39 "Odkaz na vice clenu poslo upnosti naraz:" }}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 0 "" }}{PARA 0 "> " 0 "" {MPLTEXT 1 0 36 "sequence:=v,w,x,y,z: sequence[2..4];" }} {PARA 11 "" 1 "" {XPPMATH 20 "6%%\"wG%\"xG%\"yG" }}}{EXCHG {PARA 0 "> \+ " 0 "" {MPLTEXT 1 0 13 "sequence[-2];" }{TEXT -1 0 "" }}{PARA 11 "" 1 "" {XPPMATH 20 "6#%\"yG" }}}{EXCHG {PARA 0 "" 0 "" {TEXT -1 19 "Druhy \+ prvek zprava." }}}{PARA 0 "" 0 "" {TEXT -1 52 "Jiny priklad pouziti: ( generovani posloupnosti jmen)" }}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 0 "" }}{PARA 0 "> " 0 "" {MPLTEXT 1 0 9 "p.(1..5);" }}{PARA 11 "" 1 "" {XPPMATH 20 "6'%#p1G%#p2G%#p3G%#p4G%#p5G" }}}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 0 "" }}{PARA 0 "> " 0 "" {MPLTEXT 1 0 17 "seq(p.i, i=1 ..5);" }}{PARA 11 "" 1 "" {XPPMATH 20 "6'%#p1G%#p2G%#p3G%#p4G%#p5G" }} }{PARA 0 "" 0 "" {TEXT -1 26 "Vyraz 1..5 je typu rozsah." }}}{SECT 1 {PARA 3 "" 0 "" {TEXT -1 7 "Mnozina" }}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 8 "restart;" }}}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 18 "#typ mnozina (set)" }}{PARA 0 "" 0 "" {TEXT -1 192 "posloupnost ve sl ozenych zavorkach\nZadna data se nesmi vyskytnout vice nez jednou, sys tem pouziva vnitrni system usporadani, ktere uzivatel nemuze\novlivnit (zavisi na adrese objektu v pameti)." }}{PARA 0 "> " 0 "" {MPLTEXT 1 0 13 "s:=\{1, 5, 3\};" }}{PARA 11 "" 1 "" {XPPMATH 20 "6#>%\"sG<%\"\" \"\"\"$\"\"&" }}}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 12 "whattype(s) ;" }}{PARA 11 "" 1 "" {XPPMATH 20 "6#%$setG" }}}{EXCHG {PARA 0 "" 0 " " {TEXT -1 67 "Jednotlive prvky muzeme vybirat pomoci funkce op nebo o peratoru []." }}}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 8 "op(1,s);" }} {PARA 11 "" 1 "" {XPPMATH 20 "6#\"\"\"" }}}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 5 "s[1];" }}{PARA 11 "" 1 "" {XPPMATH 20 "6#\"\"\"" }}} {EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 11 "op(1..3,s);" }}{PARA 11 "" 1 "" {XPPMATH 20 "6%\"\"\"\"\"$\"\"&" }}}{EXCHG {PARA 0 "" 0 "" {TEXT -1 39 "Zakladni mnozinove operace:\nSjednoceni:" }}{PARA 0 "> " 0 "" {MPLTEXT 1 0 26 "\{0,1,2,3\} union \{0,2,4,6\};" }}{PARA 11 "" 1 "" {XPPMATH 20 "6#<(\"\"!\"\"\"\"\"#\"\"$\"\"%\"\"'" }}}{EXCHG {PARA 0 " " 0 "" {TEXT -1 7 "Rozdil:" }}{PARA 0 "> " 0 "" {MPLTEXT 1 0 26 "\{0,1 ,2,3\} minus \{0,2,4,6\};" }}{PARA 11 "" 1 "" {XPPMATH 20 "6#<$\"\"\" \"\"$" }}}{EXCHG {PARA 0 "" 0 "" {TEXT -1 7 "Prunik:" }}{PARA 0 "> " 0 "" {MPLTEXT 1 0 30 "\{0,1,2,3\} intersect \{0,2,4,6\};" }}{PARA 11 " " 1 "" {XPPMATH 20 "6#<$\"\"!\"\"#" }}}{EXCHG {PARA 0 "" 0 "" {TEXT -1 25 "Pridani prvku do mnoziny:" }}}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 12 "s union \{x\};" }}{PARA 11 "" 1 "" {XPPMATH 20 "6#<&% \"xG\"\"\"\"\"$\"\"&" }}}{EXCHG {PARA 0 "" 0 "" {TEXT -1 27 "Odstranen i prvku z mnoziny:" }}}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 12 "s min us \{1\};" }}{PARA 11 "" 1 "" {XPPMATH 20 "6#<$\"\"$\"\"&" }}}{EXCHG {PARA 0 "" 0 "" {TEXT -1 24 "Nahrazeni prvku mnoziny:" }}}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 14 "subsop(1=x,s);" }}{PARA 11 "" 1 "" {XPPMATH 20 "6#<%%\"xG\"\"$\"\"&" }}}{EXCHG {PARA 0 "" 0 "" {TEXT -1 42 "Zjisteni, zda dany prvek patri do mnoziny:" }}{PARA 0 "> " 0 "" {MPLTEXT 1 0 28 "member(2, \{0,1,2,3\}, 'pos');" }}{PARA 11 "" 1 "" {XPPMATH 20 "6#%%trueG" }}}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 4 "po s;" }}{PARA 11 "" 1 "" {XPPMATH 20 "6#\"\"$" }}}{EXCHG {PARA 0 "" 0 " " {TEXT -1 86 "Funkce powerset z baliku combinat generuje vsechny podm noziny dane mnoziny (\{1,2,3\}). " }}{PARA 0 "> " 0 "" {MPLTEXT 1 0 34 "collection:=combinat[powerset](3);" }}{PARA 11 "" 1 "" {XPPMATH 20 "6#>%+collectionG<*<#\"\"\"<\"<$F'\"\"$<%F'\"\"#F*<$F,F*<#F*<#F,<$F 'F," }}}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 17 "nops(collection);" } }{PARA 11 "" 1 "" {XPPMATH 20 "6#\"\")" }}}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 14 "collection[4];" }}{PARA 11 "" 1 "" {XPPMATH 20 "6#<% \"\"\"\"\"#\"\"$" }}}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 17 "collect ion[6..8];" }}{PARA 11 "" 1 "" {XPPMATH 20 "6#<%<#\"\"$<#\"\"#<$\"\"\" F'" }}}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 18 "op(8, collection);" } }{PARA 11 "" 1 "" {XPPMATH 20 "6#<$\"\"\"\"\"#" }}}{EXCHG {PARA 0 "" 0 "" {TEXT -1 61 "K vybirani prvku, splnujicich nejake kriterium, slou zi funkce" }{TEXT 261 7 " select" }{TEXT -1 1 ":" }}{PARA 0 "> " 0 "" {MPLTEXT 1 0 76 "die:=rand(-10..10): #generuje nahodne zvolena cela ci sla z intervalu -10..10" }}}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 33 " numberset:=\{seq(die(), i=1..10)\};" }}{PARA 11 "" 1 "" {XPPMATH 20 "6 #>%*numbersetG<*!\"%!\"&!\"'\"\"'\"\"(!\")\"\")\"#5" }}}{EXCHG {PARA 0 "" 0 "" {TEXT -1 9 "Syntaxe: " }{TEXT 262 6 "select" }{TEXT -1 89 "( kriterium, mnozina, zvlastni_argumenty);\nkde kriterium musi vzdy vrac et true nebo false." }}{PARA 0 "> " 0 "" {MPLTEXT 1 0 45 "select(ispri me, numberset); #vybira prvocisla" }}{PARA 11 "" 1 "" {XPPMATH 20 "6#< #\"\"(" }}}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 37 "select(type, numb erset, 'nonnegint');" }}{PARA 11 "" 1 "" {XPPMATH 20 "6#<&\"\"'\"\"(\" \")\"#5" }}}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 27 "select(x->x>-5, \+ numberset);" }}{PARA 11 "" 1 "" {XPPMATH 20 "6#<'!\"%\"\"'\"\"(\"\")\" #5" }}}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 27 "remove(x->x>-5, numbe rset);" }}{PARA 11 "" 1 "" {XPPMATH 20 "6#<%!\"&!\"'!\")" }}}{EXCHG {PARA 0 "" 0 "" {TEXT -1 7 "Prikaz " }{TEXT 256 4 "map " }{TEXT -1 48 "aplikuje zadanou funkci na vsechny prvky mnoziny" }}}{EXCHG {PARA 0 " > " 0 "" {MPLTEXT 1 0 26 "numbers:=\{0,Pi/3,Pi/2,Pi\};" }}{PARA 11 "" 1 "" {XPPMATH 20 "6#>%(numbersG<&,$%#PiG#\"\"\"\"\"$,$F'#F)\"\"#F'\"\" !" }}}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 16 "map(g, numbers);" }} {PARA 11 "" 1 "" {XPPMATH 20 "6#<&-%\"gG6#,$%#PiG#\"\"\"\"\"$-F%6#,$F( #F*\"\"#-F%6#F(-F%6#\"\"!" }}}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 18 "map(sin, numbers);" }}{PARA 11 "" 1 "" {XPPMATH 20 "6#<%,$*$-%%sqr tG6#\"\"$\"\"\"#\"\"\"\"\"#\"\"!F," }}}}{SECT 1 {PARA 3 "" 0 "" {TEXT -1 6 "Seznam" }}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 8 "restart;" }}} {EXCHG {PARA 0 "" 0 "" {TEXT -1 0 "" }{MPLTEXT 1 0 19 "#typ SEZNAM (l ist)" }}}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 24 "s:=[x, x, x*y, x*(x -1)];" }}{PARA 11 "" 1 "" {XPPMATH 20 "6#>%\"sG7&%\"xGF&*&F&\"\"\"%\"y GF(*&F&\"\"\",&F&F(!\"\"F(F(" }}}{PARA 0 "" 0 "" {TEXT -1 160 "Rozdily oproti typu mnozina: stejne objekty se mohou vyskytovat vice nez jedn ou, zachovava se zadane\nusporadani. Tedy [a,b,c], a [b,c,a] jsou dva \+ ruzne seznamy." }}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 12 "whattype(s );" }}{PARA 11 "" 1 "" {XPPMATH 20 "6#%%listG" }}}{EXCHG {PARA 0 "" 0 "" {TEXT -1 22 "Prevod na typ mnozina." }}}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 21 "m:=convert(s, 'set');" }}{PARA 11 "" 1 "" {XPPMATH 20 "6#>%\"mG<%%\"xG*&F&\"\"\"%\"yGF(*&F&\"\"\",&F&F(!\"\"F(F(" }}} {EXCHG {PARA 0 "" 0 "" {TEXT -1 39 "a zpet na seznam (odstraneni dupli cit)." }}}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 19 "convert(m, 'list') ;" }}{PARA 11 "" 1 "" {XPPMATH 20 "6#7%%\"xG*&F$\"\"\"%\"yGF&*&F$\"\" \",&F$F&!\"\"F&F&" }}}{PARA 0 "" 0 "" {TEXT -1 26 "Prevod na typ poslo upnost:" }}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 6 "op(s);" }}{PARA 11 "" 1 "" {XPPMATH 20 "6&%\"xGF#*&F#\"\"\"%\"yGF%*&F#\"\"\",&F#F%!\" \"F%F%" }}}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 6 "[x$5];" }}{PARA 11 "" 1 "" {XPPMATH 20 "6#7'%\"xGF$F$F$F$" }}}{PARA 0 "" 0 "" {TEXT -1 17 "Prace se seznamy:" }}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 45 " cl:=[black, red, green, yellow, blue, white];" }}{PARA 11 "" 1 "" {XPPMATH 20 "6#>%#clG7(%&blackG%$redG%&greenG%'yellowG%%blueG%&whiteG " }}}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 9 "nops(cl);" }}{PARA 11 " " 1 "" {XPPMATH 20 "6#\"\"'" }}}{PARA 0 "" 0 "" {TEXT -1 40 "Test, zda dany element patri do seznamu:" }}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 19 "member(indigo, cl);" }}{PARA 11 "" 1 "" {XPPMATH 20 "6#%&false G" }}}{PARA 0 "" 0 "" {TEXT -1 36 "Vyber jednotlivych elementu seznamu :" }}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 6 "cl[5];" }}{PARA 11 "" 1 "" {XPPMATH 20 "6#%%blueG" }}}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 9 "cl[3..6];" }}{PARA 11 "" 1 "" {XPPMATH 20 "6#7&%&greenG%'yellowG%%blu eG%&whiteG" }}}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 14 "cl[-1];cl[-2] ;" }}{PARA 11 "" 1 "" {XPPMATH 20 "6#%&whiteG" }}{PARA 11 "" 1 "" {XPPMATH 20 "6#%%blueG" }}}{EXCHG {PARA 0 "" 0 "" {TEXT -1 30 "Posledn i a predposledni prvek." }}}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 31 " L := [1,[2,3],[4,[5,6],7],8,9];" }}{PARA 11 "" 1 "" {XPPMATH 20 "6#>% \"LG7'\"\"\"7$\"\"#\"\"$7%\"\"%7$\"\"&\"\"'\"\"(\"\")\"\"*" }}}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 9 "L[3,2,1];" }}{PARA 11 "" 1 "" {XPPMATH 20 "6#\"\"&" }}}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 11 "L[3 ][2][1];" }}{PARA 11 "" 1 "" {XPPMATH 20 "6#\"\"&" }}}{EXCHG {PARA 0 " " 0 "" {TEXT -1 25 "Pridani prvku do seznamu:" }}}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 18 "cl:=[op(cl),pink];" }}{PARA 11 "" 1 "" {XPPMATH 20 "6#>%#clG7)%&blackG%$redG%&greenG%'yellowG%%blueG%&whiteG%%pinkG" } }}{EXCHG {PARA 0 "" 0 "" {TEXT -1 28 "Odstraneni prvku ze seznamu:" }} }{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 22 "cl:=subsop(7=NULL,cl);" }} {PARA 11 "" 1 "" {XPPMATH 20 "6#>%#clG7(%&blackG%$redG%&greenG%'yellow G%%blueG%&whiteG" }}}{EXCHG {PARA 0 "" 0 "" {TEXT -1 32 "Nahrazeni prv ku v seznamu jinym:" }}}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 17 "cl[5 ]:=purple;cl;" }}{PARA 11 "" 1 "" {XPPMATH 20 "6#>&%#clG6#\"\"&%'purpl eG" }}{PARA 11 "" 1 "" {XPPMATH 20 "6#7(%&blackG%$redG%&greenG%'yellow G%'purpleG%&whiteG" }}}{EXCHG {PARA 0 "" 0 "" {TEXT -1 68 "Tento zpuso b prirazeni hodnoty prvku v seznamu je efektivnejsi, nez:" }}}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 25 "cl:=subsop(5=indigo, cl);" }}{PARA 11 "" 1 "" {XPPMATH 20 "6#>%#clG7(%&blackG%$redG%&greenG%'yellowG%'ind igoG%&whiteG" }}}{EXCHG {PARA 0 "" 0 "" {TEXT -1 90 "ale prime priraze ni hodnot prvkum seznamu je omezeno na seznamy o maximalne 100 polozka ch." }}}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 0 "" }}}{EXCHG {PARA 0 " " 0 "" {TEXT -1 10 "Setrideni:" }}}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 19 "sort(cl, lexorder);" }}{PARA 11 "" 1 "" {XPPMATH 20 "6#7(%&bla ckG%&greenG%'indigoG%$redG%&whiteG%'yellowG" }}}{EXCHG {PARA 11 "" 1 " " {TEXT -1 0 "" }}}{EXCHG {PARA 0 "" 0 "" {TEXT -1 22 "Secteni prvku s eznamu:" }}}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 17 "x:=[1,2,3,4,5,5] ;" }}{PARA 11 "" 1 "" {XPPMATH 20 "6#>%\"xG7(\"\"\"\"\"#\"\"$\"\"%\"\" &F*" }}}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 12 "add(i, i=x);" }} {PARA 11 "" 1 "" {XPPMATH 20 "6#\"#?" }}}{EXCHG {PARA 0 "" 0 "" {TEXT -1 29 "(add secte posloupnost prvku)" }}}{EXCHG {PARA 0 "" 0 "" {TEXT -1 22 "Slouceni dvou seznamu:" }}}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 30 "X:=[seq(ithprime(i), i=1..6)];" }}{PARA 11 "" 1 "" {XPPMATH 20 " 6#>%\"XG7(\"\"#\"\"$\"\"&\"\"(\"#6\"#8" }}}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 22 "Y:=[seq(i^2, i=1..6)];" }}{PARA 11 "" 1 "" {XPPMATH 20 "6#>%\"YG7(\"\"\"\"\"%\"\"*\"#;\"#D\"#O" }}}{EXCHG {PARA 0 "> " 0 " " {MPLTEXT 1 0 19 "pair:=(x,y)->[x,y];" }}{PARA 11 "" 1 "" {XPPMATH 20 "6#>%%pairGR6$%\"xG%\"yG6\"6$%)operatorG%&arrowGF)7$9$9%F)F)F)" }}} {EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 18 "P:=zip(pair, X,Y);" }}{PARA 11 "" 1 "" {XPPMATH 20 "6#>%\"PG7(7$\"\"#\"\"\"7$\"\"$\"\"%7$\"\"&\"\" *7$\"\"(\"#;7$\"#6\"#D7$\"#8\"#O" }}}{EXCHG {PARA 0 "" 0 "" {TEXT -1 43 "Pokud maji seznamy rozdilnou delku, prikaz " }{TEXT 263 4 "zip " } {TEXT -1 54 "vytvori seznam delky odpovidajici kratsimu ze seznamu." } }}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 44 "zip(igcd, [7567,342,876], \+ [34,756,213,346]);" }}{PARA 11 "" 1 "" {XPPMATH 20 "6#7%\"\"\"\"#=\"\" $" }}}}{SECT 1 {PARA 3 "" 0 "" {TEXT -1 12 "Pole (array)" }}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 21 "squares:=array(1..3);" }}{PARA 11 " " 1 "" {XPPMATH 20 "6#>%(squaresG-%&arrayG6$;\"\"\"\"\"$7\"" }}} {EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 46 "squares[1]:=1; squares[2]:=2 .0; squares[3]:=c;" }}{PARA 11 "" 1 "" {XPPMATH 20 "6#>&%(squaresG6#\" \"\"F'" }}{PARA 11 "" 1 "" {XPPMATH 20 "6#>&%(squaresG6#\"\"#$\"#?!\" \"" }}{PARA 11 "" 1 "" {XPPMATH 20 "6#>&%(squaresG6#\"\"$%\"cG" }}} {EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 29 "cubes:=array(1..3, [1,8,27]) ;" }}{PARA 11 "" 1 "" {XPPMATH 20 "6#>%&cubesG-%'vectorG6#7%\"\"\"\"\" )\"#F" }}}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 11 "squares[2];" }} {PARA 11 "" 1 "" {XPPMATH 20 "6#$\"#?!\"\"" }}}{EXCHG {PARA 0 "> " 0 " " {MPLTEXT 1 0 8 "squares;" }}{PARA 11 "" 1 "" {XPPMATH 20 "6#%(square sG" }}}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 14 "eval(squares);" }} {PARA 11 "" 1 "" {XPPMATH 20 "6#-%'vectorG6#7%\"\"\"$\"#?!\"\"%\"cG" } }}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 24 "whattype(eval(squares));" }}{PARA 11 "" 1 "" {XPPMATH 20 "6#%&arrayG" }}}{EXCHG {PARA 0 "" 0 "" {TEXT -1 42 "Definice dvojdimenzionalniho pole (3 x 3)." }}}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 26 "pwrs:=array(1..3,1..3,[]);" }} {PARA 11 "" 1 "" {XPPMATH 20 "6#>%%pwrsG-%&arrayG6%;\"\"\"\"\"$F(7\"" }}}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 40 "pwrs[1,1]:=1; pwrs[1,2]:= 1;pwrs[1,3]:=1;" }}{PARA 11 "" 1 "" {XPPMATH 20 "6#>&%%pwrsG6$\"\"\"F' F'" }}{PARA 11 "" 1 "" {XPPMATH 20 "6#>&%%pwrsG6$\"\"\"\"\"#F'" }} {PARA 11 "" 1 "" {XPPMATH 20 "6#>&%%pwrsG6$\"\"\"\"\"$F'" }}}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 84 "pwrs[2,1]:=2: pwrs[2,2]:=4: pwrs[2, 3]:=8:\npwrs[3,1]:=3: pwrs[3,2]:=9: pwrs[3,3]:=27:" }}{PARA 0 "> " 0 " " {MPLTEXT 1 0 12 "print(pwrs);" }}{PARA 11 "" 1 "" {XPPMATH 20 "6#-%' matrixG6#7%7%\"\"\"F(F(7%\"\"#\"\"%\"\")7%\"\"$\"\"*\"#F" }}}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 10 "pwrs[2,3];" }}{PARA 11 "" 1 "" {XPPMATH 20 "6#\"\")" }}}{PARA 0 "" 0 "" {TEXT -1 105 "Nejdrive specif ikujeme rozsah dvodimenzionalniho pole, pote jeho prvky (neni nutno sp ecifikovat vsechny)." }}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 56 "arra y(1..3, 1..2, [(1,1)=a, (1,2)=b, (2,1)=c, (2,2)=d]);" }}{PARA 11 "" 1 "" {XPPMATH 20 "6#-%'matrixG6#7%7$%\"aG%\"bG7$%\"cG%\"dG7$&%\"?G6$\"\" $\"\"\"&F/6$F1\"\"#" }}}{PARA 0 "" 0 "" {TEXT -1 39 "\nPole muze byt k onstruovano ze seznamu:" }}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 8 "re start;" }}}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 35 "M:=array([[1-p, 2 -q], [1-r, 2-s]]);" }}{PARA 11 "" 1 "" {XPPMATH 20 "6#>%\"MG-%'matrixG 6#7$7$,&\"\"\"F+%\"pG!\"\",&\"\"#F+%\"qGF-7$,&F+F+%\"rGF-,&F/F+%\"sGF- " }}}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 18 "whattype(eval(M));" }} {PARA 11 "" 1 "" {XPPMATH 20 "6#%&arrayG" }}}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 55 "pwrs2:=array(1..3, 1..3, [[1,1,1], [2,4,8], [3,9,27]] );" }}{PARA 11 "" 1 "" {XPPMATH 20 "6#>%&pwrs2G-%'matrixG6#7%7%\"\"\"F *F*7%\"\"#\"\"%\"\")7%\"\"$\"\"*\"#F" }}}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 17 "obr:=array(1..2);" }}{PARA 11 "" 1 "" {XPPMATH 20 "6# >%$obrG-%&arrayG6$;\"\"\"\"\"#7\"" }}}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 30 "obr[1]:=plot(sin(x), x=-3..3):" }}}{EXCHG {PARA 0 "> \+ " 0 "" {MPLTEXT 1 0 30 "obr[2]:=plot(cos(x), x=-3..3):" }}}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 25 "with(plots):display(obr);" }}{PARA 13 "" 1 "" {INLPLOT "6L-%'CURVESG6$7Y7$$!+++++5!\")$!+\\`369!\"*7$$!+> p0k&*F-$!+Tt8!p#F-7$$!+s^u%=*F-$!+\"e,kw$F-7$$!+X%p\"e()F-$!+!p+z\"\\F -7$$!+&4m(G$)F-$!+&ydd*fF-7$$!+AOS,zF-$!++:')ppF-7$$!+0R=0vF-$!+qy3rxF -7$$!+Q8#\\4(F-$!+!)Q,&[)F-7$$!+0siqmF-$!+[%4#)3*F-7$$!+)y$pZiF-$!+9=8 V&*F-7$$!+%yaE\"eF-$!+\\O%4&)*F-7$$!+)[j5i&F-$!++fcL**F-7$$!+%>s%HaF-$ !+'fzL)**F-7$$!+rdy8_F-$!+**********F-7$$!+^$*4)*\\F-$!+Pdwu**F-7$$!+, t_\"y%F-$!+K;U2**F-7$$!+^_&\\c%F-$!+9#p#)z*F-7$$!+^1aZTF-$!+?')z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0 2 9 0 1 2 1.000000 45.000000 45.000000 10030 10061 10056 10074 0 0 0 20540 0 12020 0 255 0 0 255 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 }}}}{SECT 1 {PARA 3 "" 0 "" {TEXT -1 7 "Tabulka" }}{PARA 0 "" 0 "" {TEXT -1 53 "Tabulky js ou zobecnenim datove struktury pole. Rozdil" }}{PARA 0 "" 0 "" {TEXT -1 51 "je v tom, ze indexem muze byt cokoliv (u pole pouze" }}{PARA 0 "" 0 "" {TEXT -1 12 "cela cisla)." }}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 48 "translate:=table([one=jedna,two=dve,three=tri]);" }} {PARA 12 "" 1 "" {XPPMATH 20 "6#>%*translateG-%&TABLEG6#7%/%&threeG%$t riG/%$oneG%&jednaG/%$twoG%$dveG" }}}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 26 "whattype(eval(translate));" }}{PARA 11 "" 1 "" {XPPMATH 20 "6# %&tableG" }}}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 15 "translate[two]; " }}{PARA 11 "" 1 "" {XPPMATH 20 "6#%$dveG" }}}{EXCHG {PARA 0 "> " 0 " " {MPLTEXT 1 0 24 "barva[cervena]:=red,rot;" }}{PARA 11 "" 1 "" {XPPMATH 20 "6#>&%&barvaG6#%(cervenaG6$%$redG%$rotG" }}}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 24 "barva[modra]:=blue,blau;" }}{PARA 11 "" 1 "" {XPPMATH 20 "6#>&%&barvaG6#%&modraG6$%%blueG%%blauG" }}}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 26 "barva[zluta]:=yellow,gelb;" }} {PARA 11 "" 1 "" {XPPMATH 20 "6#>&%&barvaG6#%&zlutaG6$%'yellowG%%gelbG " }}}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 22 "whattype(eval(barva)); " }}{PARA 11 "" 1 "" {XPPMATH 20 "6#%&tableG" }}}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 15 "indices(barva);" }}{PARA 11 "" 1 "" {XPPMATH 20 "6%7#%&modraG7#%(cervenaG7#%&zlutaG" }}}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 15 "entries(barva);" }}{PARA 11 "" 1 "" {XPPMATH 20 "6%7$ %%blueG%%blauG7$%$redG%$rotG7$%'yellowG%%gelbG" }}}}{SECT 1 {PARA 3 " " 0 "" {TEXT -1 7 "Retezec" }}{PARA 0 "" 0 "" {TEXT -1 8 "(string)" }} {EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 19 "\"Toto je retezec.\";" }} {PARA 11 "" 1 "" {XPPMATH 20 "6#Q1Toto~je~retezec.6\"" }}}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 22 "r:=\"Toto je retezec.\";" }}{PARA 11 "" 1 "" {XPPMATH 20 "6#>%\"rGQ1Toto~je~retezec.6\"" }}}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 9 "r[6..-2];" }}{PARA 11 "" 1 "" {XPPMATH 20 "6#Q+je~retezec6\"" }}}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 10 "length(r);" }}{PARA 11 "" 1 "" {XPPMATH 20 "6#\"#;" }}}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 12 "whattype(r);" }}{PARA 11 "" 1 "" {XPPMATH 20 "6#%'stringG" }}}}{SECT 1 {PARA 3 "" 0 "" {TEXT -1 16 "Lin earni algebra" }}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 8 "restart;" }} }{EXCHG {PARA 0 "" 0 "" {TEXT -1 0 "" }{MPLTEXT 1 0 13 "with(linalg); " }}{PARA 7 "" 1 "" {TEXT -1 32 "Warning, new definition for norm" }} {PARA 7 "" 1 "" {TEXT -1 33 "Warning, new definition for trace" }} {PARA 12 "" 1 "" {XPPMATH 20 "6#7^r%.BlockDiagonalG%,GramSchmidtG%,Jor danBlockG%)LUdecompG%)QRdecompG%*WronskianG%'addcolG%'addrowG%$adjG%(a djointG%&angleG%(augmentG%(backsubG%%bandG%&basisG%'bezoutG%,blockmatr ixG%(charmatG%)charpolyG%)choleskyG%$colG%'coldimG%)colspaceG%(colspan G%*companionG%'concatG%%condG%)copyintoG%*crossprodG%%curlG%)definiteG %(delcolsG%(delrowsG%$detG%%diagG%(divergeG%(dotprodG%*eigenvalsG%,eig envaluesG%-eigenvectorsG%+eigenvectsG%,entermatrixG%&equalG%,exponenti alG%'extendG%,ffgausselimG%*fibonacciG%+forwardsubG%*frobeniusG%*gauss elimG%*gaussjordG%(geneqnsG%*genmatrixG%%gradG%)hadamardG%(hermiteG%(h essianG%(hilbertG%+htransposeG%)ihermiteG%*indexfuncG%*innerprodG%)int basisG%(inverseG%'ismithG%*issimilarG%'iszeroG%)jacobianG%'jordanG%'ke rnelG%*laplacianG%*leastsqrsG%)linsolveG%'mataddG%'matrixG%&minorG%(mi npolyG%'mulcolG%'mulrowG%)multiplyG%%normG%*normalizeG%*nullspaceG%'or thogG%*permanentG%&pivotG%*potentialG%+randmatrixG%+randvectorG%%rankG %(ratformG%$rowG%'rowdimG%)rowspaceG%(rowspanG%%rrefG%*scalarmulG%-sin gularvalsG%&smithG%,stackmatrixG%*submatrixG%*subvectorG%)sumbasisG%(s wapcolG%(swaprowG%*sylvesterG%)toeplitzG%&traceG%*transposeG%,vandermo ndeG%*vecpotentG%(vectdimG%'vectorG%*wronskianG" }}}{EXCHG {PARA 0 "" 0 "" {TEXT -1 54 "Matice muzeme zadavat bud primo jako dvoudimezionaln i " }}{PARA 0 "" 0 "" {TEXT -1 131 "pole nebo pomoci prikazu matrix z \+ baliku linalg. Vyssi verze Maplu pouzivaji novy balik LinearAlgebra, k tey definuje prikaz Matrix." }}}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 35 "M:=array([[1-p, 2-q], [1-r, 2-s]]);" }}{PARA 11 "" 1 "" {XPPMATH 20 "6#>%\"MG-%'matrixG6#7$7$,&\"\"\"F+%\"pG!\"\",&\"\"#F+%\"qGF-7$,&F+ F+%\"rGF-,&F/F+%\"sGF-" }}}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 36 "M :=matrix([[1-p, 2-q], [1-r, 2-s]]);" }}{PARA 11 "" 1 "" {XPPMATH 20 "6 #>%\"MG-%'matrixG6#7$7$,&\"\"\"F+%\"pG!\"\",&\"\"#F+%\"qGF-7$,&F+F+%\" rGF-,&F/F+%\"sGF-" }}}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 27 "v:=vec tor([1+a, 2+b, 3+c]);" }}{PARA 11 "" 1 "" {XPPMATH 20 "6#>%\"vG-%'vect orG6#7%,&\"\"\"F*%\"aGF*,&\"\"#F*%\"bGF*,&\"\"$F*%\"cGF*" }}}{EXCHG {PARA 0 "" 0 "" {TEXT -1 28 "Definovani indexacni funkce:" }}{PARA 0 " > " 0 "" {MPLTEXT 1 0 20 "h:=(i,j)->1/(i+j-x);" }}{PARA 11 "" 1 "" {XPPMATH 20 "6#>%\"hGR6$%\"iG%\"jG6\"6$%)operatorG%&arrowGF)*&\"\"\"F. ,(9$\"\"\"9%F1%\"xG!\"\"!\"\"F)F)F)" }}}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 14 "matrix(4,4,h);" }}{PARA 11 "" 1 "" {XPPMATH 20 "6#-%' matrixG6#7&7&*&\"\"\"F),&\"\"#\"\"\"%\"xG!\"\"!\"\"*&F)F),&\"\"$F,F-F. F/*&F)F),&\"\"%F,F-F.F/*&F)F),&\"\"&F,F-F.F/7&F0F3F6*&F)F),&\"\"'F,F-F .F/7&F3F6F:*&F)F),&\"\"(F,F-F.F/7&F6F:F>*&F)F),&\"\")F,F-F.F/" }}} {EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 14 "matrix(3,3,0);" }}{PARA 11 " " 1 "" {XPPMATH 20 "6#-%'matrixG6#7%7%\"\"!F(F(F'F'" }}}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 2 "v;" }}{PARA 11 "" 1 "" {XPPMATH 20 "6#%\"v G" }}}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 8 "eval(v);" }}{PARA 11 " " 1 "" {XPPMATH 20 "6#-%'vectorG6#7%,&\"\"\"F(%\"aGF(,&\"\"#F(%\"bGF(, &\"\"$F(%\"cGF(" }}}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 12 "op(eval( v));" }}{PARA 11 "" 1 "" {XPPMATH 20 "6$;\"\"\"\"\"$7%/F$,&F$F$%\"aGF$ /\"\"#,&F+F$%\"bGF$/F%,&F%F$%\"cGF$" }}}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 26 "A:=matrix(2,2, [a,b,c,d]);" }}{PARA 11 "" 1 "" {XPPMATH 20 "6#>%\"AG-%'matrixG6#7$7$%\"aG%\"bG7$%\"cG%\"dG" }}} {EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 28 "B:=toeplitz([alpha, beta]); \+ " }}{PARA 11 "" 1 "" {XPPMATH 20 "6#>%\"BG-%'matrixG6#7$7$%&alphaG%%be taG7$F+F*" }}}{EXCHG {PARA 0 "" 0 "" {TEXT -1 85 "Pro aritmetiku s mat icemi pouzivame funkci evalm (evaluate using matrix arithmetic).\n" }} {PARA 0 "> " 0 "" {MPLTEXT 1 0 11 "evalm(A+B);" }}{PARA 11 "" 1 "" {XPPMATH 20 "6#-%'matrixG6#7$7$,&%\"aG\"\"\"%&alphaGF*,&%\"bGF*%%betaG F*7$,&%\"cGF*F.F*,&%\"dGF*F+F*" }}}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 17 "evalm(3*A-2/7*B);" }}{PARA 11 "" 1 "" {XPPMATH 20 "6#-%'matrix G6#7$7$,&%\"aG\"\"$%&alphaG#!\"#\"\"(,&%\"bGF*%%betaGF,7$,&%\"cGF*F1F, ,&%\"dGF*F+F," }}}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 11 "evalm(A-1) ;" }}{PARA 11 "" 1 "" {XPPMATH 20 "6#-%'matrixG6#7$7$,&%\"aG\"\"\"!\" \"F*%\"bG7$%\"cG,&%\"dGF*F+F*" }}}{EXCHG {PARA 0 "" 0 "" {TEXT -1 79 " Pro nasobeni matic se pouziva operator &*! Za operatorem je nutno zada t mezeru." }}{PARA 0 "> " 0 "" {MPLTEXT 1 0 14 "evalm(B &* A);" }} {PARA 11 "" 1 "" {XPPMATH 20 "6#-%'matrixG6#7$7$,&*&%&alphaG\"\"\"%\"a GF+F+*&%%betaGF+%\"cGF+F+,&*&F*\"\"\"%\"bGF+F+*&F.F2%\"dGF+F+7$,&*&F.F 2F,F2F+*&F*F2F/F2F+,&*&F.F2F3F2F+*&F*F2F5F2F+" }}}{EXCHG {PARA 0 "" 0 "" {TEXT -1 9 "Mocniny:\n" }}{PARA 0 "> " 0 "" {MPLTEXT 1 0 11 "evalm( B^3);" }}{PARA 11 "" 1 "" {XPPMATH 20 "6#-%'matrixG6#7$7$,&*&,&*$)%&al phaG\"\"#\"\"\"\"\"\"*$)%%betaGF.F/F0F0F-F0F0*&F-F/F2F/F.,&*&F*F/F3F0F 0*&F,F/F3F/F.7$F5F(" }}}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 18 "toep litz([1,2,3]);" }}{PARA 11 "" 1 "" {XPPMATH 20 "6#-%'matrixG6#7%7%\"\" \"\"\"#\"\"$7%F)F(F)7%F*F)F(" }}}{EXCHG {PARA 0 "" 0 "" {TEXT -1 21 "V ypocet determinantu." }}}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 7 "det( %);" }}{PARA 11 "" 1 "" {XPPMATH 20 "6#\"\")" }}}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 45 "A:=matrix([[1,0,0,1], [1,0,1,1], [0,0,1,0]]);" } }{PARA 11 "" 1 "" {XPPMATH 20 "6#>%\"AG-%'matrixG6#7%7&\"\"\"\"\"!F+F* 7&F*F+F*F*7&F+F+F*F+" }}}{EXCHG {PARA 0 "" 0 "" {TEXT -1 15 "Hodnost m atice:" }}}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 8 "rank(A);" }}{PARA 11 "" 1 "" {XPPMATH 20 "6#\"\"#" }}}{EXCHG {PARA 0 "" 0 "" {TEXT -1 19 "Gaussova eliminace:" }}}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 49 " A:=matrix([[1,1,3,-3],[5,5,13,-17],[3,1,7,-11]]);" }}{PARA 11 "" 1 "" {XPPMATH 20 "6#>%\"AG-%'matrixG6#7%7&\"\"\"F*\"\"$!\"$7&\"\"&F.\"#8!#< 7&F+F*\"\"(!#6" }}}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 13 "gausselim (A);" }}{PARA 11 "" 1 "" {XPPMATH 20 "6#-%'matrixG6#7%7&\"\"\"F(\"\"$! \"$7&\"\"!!\"#F-F-7&F,F,F-F-" }}}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 13 "gaussjord(A);" }}{PARA 11 "" 1 "" {XPPMATH 20 "6#-%'matrixG6#7%7 &\"\"\"\"\"!F)!\"'7&F)F(F)F)7&F)F)F(F(" }}}{EXCHG {PARA 0 "" 0 "" {TEXT -1 41 "Rozmery matice a vektoru zjistime prikazy" }}}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 10 "rowdim(A);" }}{PARA 11 "" 1 "" {XPPMATH 20 "6#\"\"$" }}}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 10 "col dim(A);" }}{PARA 11 "" 1 "" {XPPMATH 20 "6#\"\"%" }}}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 30 "v:=vector([1,2,3]):vectdim(v);" }}{PARA 11 " " 1 "" {XPPMATH 20 "6#\"\"$" }}}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 25 "submatrix(A, 2..3, 1..2);" }}{PARA 11 "" 1 "" {XPPMATH 20 "6#-%'ma trixG6#7$7$\"\"&F(7$\"\"$\"\"\"" }}}}{SECT 1 {PARA 3 "" 0 "" {TEXT -1 20 "Last Name Evaluation" }}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 8 "r estart;" }}}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 66 "R:=matrix(2,2,[[ cos(alpha),-sin(alpha)],[sin(alpha),cos(alpha)]]);" }}{PARA 11 "" 1 " " {XPPMATH 20 "6#>%\"RG-%'matrixG6#7$7$-%$cosG6#%&alphaG,$-%$sinGF,!\" \"7$F/F*" }}}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 2 "R;" }}{PARA 11 " " 1 "" {XPPMATH 20 "6#%\"RG" }}}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 12 "whattype(R);" }}{PARA 11 "" 1 "" {XPPMATH 20 "6#%'symbolG" }}} {EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 8 "eval(R);" }}{PARA 11 "" 1 "" {XPPMATH 20 "6#-%'matrixG6#7$7$-%$cosG6#%&alphaG,$-%$sinGF*!\"\"7$F-F( " }}}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 18 "whattype(eval(R));" }} {PARA 11 "" 1 "" {XPPMATH 20 "6#%&arrayG" }}}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 12 "alpha:=Pi/4;" }}{PARA 11 "" 1 "" {XPPMATH 20 "6#>%&al phaG,$%#PiG#\"\"\"\"\"%" }}}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 8 "e val(R);" }}{PARA 11 "" 1 "" {XPPMATH 20 "6#-%'matrixG6#7$7$-%$cosG6#%& alphaG,$-%$sinGF*!\"\"7$F-F(" }}}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 7 "R[1,2];" }}{PARA 11 "" 1 "" {XPPMATH 20 "6#,$*$-%%sqrtG6#\"\"#\" \"\"#!\"\"F(" }}}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 12 "map(eval,R) ;" }}{PARA 11 "" 1 "" {XPPMATH 20 "6#-%'matrixG6#7$7$,$*$-%%sqrtG6#\" \"#\"\"\"#\"\"\"F-,$F)#!\"\"F-7$F(F(" }}}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 0 "" }}}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 5 "T:=S;" } }{PARA 11 "" 1 "" {XPPMATH 20 "6#>%\"TG%\"SG" }}}{EXCHG {PARA 0 "" 0 " " {TEXT -1 0 "" }}}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 5 "S:=R;" }} {PARA 11 "" 1 "" {XPPMATH 20 "6#>%\"SG%\"RG" }}}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 20 "eval(T,1);#hodnota T" }}{PARA 11 "" 1 "" {XPPMATH 20 "6#%\"SG" }}}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 20 "eval(T,2);#h odnota S" }}{PARA 11 "" 1 "" {XPPMATH 20 "6#%\"RG" }}}{EXCHG {PARA 0 " > " 0 "" {MPLTEXT 1 0 20 "eval(T,3);#hodnota R" }}{PARA 11 "" 1 "" {XPPMATH 20 "6#-%'matrixG6#7$7$-%$cosG6#%&alphaG,$-%$sinGF*!\"\"7$F-F( " }}}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 43 "map(eval,T);#vyhodnocen i jednotlivych prvku" }}{PARA 11 "" 1 "" {XPPMATH 20 "6#-%'matrixG6#7$ 7$,$*$-%%sqrtG6#\"\"#\"\"\"#\"\"\"F-,$F)#!\"\"F-7$F(F(" }}}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 2 "T;" }}{PARA 11 "" 1 "" {XPPMATH 20 " 6#%\"RG" }}}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 15 "alpha:='alpha'; " }}{PARA 11 "" 1 "" {XPPMATH 20 "6#>%&alphaGF$" }}}{EXCHG {PARA 0 "> \+ " 0 "" {MPLTEXT 1 0 21 "R[1,2];S[1,2];T[1,2];" }}{PARA 11 "" 1 "" {XPPMATH 20 "6#,$-%$sinG6#%&alphaG!\"\"" }}{PARA 11 "" 1 "" {XPPMATH 20 "6#,$-%$sinG6#%&alphaG!\"\"" }}{PARA 11 "" 1 "" {XPPMATH 20 "6#,$-% $sinG6#%&alphaG!\"\"" }}}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 10 "S[2 ,1]:=0:" }}}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 26 "eval(R), eval(S) , eval(T);" }}{PARA 11 "" 1 "" {XPPMATH 20 "6%-%'matrixG6#7$7$-%$cosG6 #%&alphaG,$-%$sinGF*!\"\"7$\"\"!F(F#F#" }}}{EXCHG {PARA 0 "" 0 "" {TEXT -1 75 "Pokud chceme udelat kopii matice a tuto zmenit (beze zmen y matice puvodni)," }}{PARA 0 "" 0 "" {TEXT -1 21 "musime pouzit prika z " }{TEXT 265 4 "copy" }{TEXT -1 1 "." }{TEXT 264 0 "" }}}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 11 "S:=copy(R);" }}{PARA 11 "" 1 "" {XPPMATH 20 "6#>%\"SG-%'matrixG6#7$7$-%$cosG6#%&alphaG,$-%$sinGF,!\"\" 7$\"\"!F*" }}}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 10 "S[1,2]:=1:" }} }{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 17 "eval(R), eval(S);" }}{PARA 11 "" 1 "" {XPPMATH 20 "6$-%'matrixG6#7$7$-%$cosG6#%&alphaG,$-%$sinGF* !\"\"7$\"\"!F(-F$6#7$7$F(\"\"\"F0" }}}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 0 "" }}}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 0 "" }}}}} {MARK "8" 0 }{VIEWOPTS 1 1 0 1 1 1803 }