home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was processed as: LaTeX Document
(document/latex).
You can browse this item here: triu.tex
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| LaTeX Document (document/latex)
| magic
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| LaTeX document text
| default
| |
99%
| file
| LaTeX document, ASCII text, with CR line terminators
| default
| |
100%
| checkBytes
| Printable ASCII
| default
| |
100%
| perlTextCheck
| Likely Text (Perl)
| default
| |
100%
| siegfried
| fmt/281 LaTeX (Subdocument)
| default
| |
100%
| detectItEasy
| Format: plain text[CR]
| default (weak)
|
|
id metadata |
---|
key | value |
---|
macFileType | [TEXT] |
macFileCreator | [ttxt] |
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 5c 73 65 63 74 69 6f 6e | 7b 74 72 69 75 20 2d 2d |\section|{triu --|
|00000010| 2d 20 75 70 70 65 72 20 | 74 72 69 61 6e 67 75 6c |- upper |triangul|
|00000020| 61 72 20 6d 61 74 72 69 | 78 7d 0d 5c 6c 61 62 65 |ar matri|x}.\labe|
|00000030| 6c 7b 66 6e 3a 74 72 69 | 75 7d 0d 5c 69 6e 64 65 |l{fn:tri|u}.\inde|
|00000040| 78 7b 74 72 69 75 28 29 | 7d 0d 5c 69 6e 64 65 78 |x{triu()|}.\index|
|00000050| 7b 75 70 70 65 72 20 74 | 72 69 61 6e 67 75 6c 61 |{upper t|riangula|
|00000060| 72 20 6d 61 74 72 69 78 | 7d 0d 5c 69 6e 64 65 78 |r matrix|}.\index|
|00000070| 7b 6d 61 74 72 69 78 21 | 75 70 70 65 72 20 74 72 |{matrix!|upper tr|
|00000080| 69 61 6e 67 75 6c 61 72 | 20 70 61 72 74 7d 0d 5c |iangular| part}.\|
|00000090| 62 65 67 69 6e 7b 72 61 | 69 6c 7d 0d 54 72 69 75 |begin{ra|il}.Triu|
|000000a0| 20 3a 20 27 74 72 69 75 | 27 20 27 28 27 20 4d 61 | : 'triu|' '(' Ma|
|000000b0| 74 72 69 78 20 28 27 2c | 27 20 53 63 61 6c 61 72 |trix (',|' Scalar|
|000000c0| 29 3f 20 27 29 27 20 3b | 0d 5c 65 6e 64 7b 72 61 |)? ')' ;|.\end{ra|
|000000d0| 69 6c 7d 0d 0d 5c 76 65 | 72 62 2b 74 72 69 75 2b |il}..\ve|rb+triu+|
|000000e0| 20 72 65 74 75 72 6e 73 | 20 74 68 65 20 75 70 70 | returns| the upp|
|000000f0| 65 72 20 74 72 69 61 6e | 67 75 6c 61 72 20 70 61 |er trian|gular pa|
|00000100| 72 74 20 6f 66 20 74 68 | 65 20 61 72 67 75 6d 65 |rt of th|e argume|
|00000110| 6e 74 20 6d 61 74 72 69 | 78 2e 0d 49 66 20 6e 6f |nt matri|x..If no|
|00000120| 20 73 63 61 6c 61 72 20 | 61 72 67 75 6d 65 6e 74 | scalar |argument|
|00000130| 20 69 73 20 70 72 65 73 | 65 6e 74 2c 20 74 68 69 | is pres|ent, thi|
|00000140| 73 20 69 73 20 61 6c 6c | 20 74 68 65 20 74 65 72 |s is all| the ter|
|00000150| 6d 73 20 6f 6e 20 74 68 | 65 20 6d 61 69 6e 20 64 |ms on th|e main d|
|00000160| 69 61 67 6f 6e 61 6c 20 | 0d 61 6e 64 20 61 62 6f |iagonal |.and abo|
|00000170| 76 65 2e 20 54 68 65 20 | 72 65 6d 61 69 6e 64 65 |ve. The |remainde|
|00000180| 72 20 6f 66 20 74 68 65 | 20 6d 61 74 72 69 78 20 |r of the| matrix |
|00000190| 69 73 20 73 65 74 20 74 | 6f 20 7a 65 72 6f 2e 20 |is set t|o zero. |
|000001a0| 49 66 20 74 68 65 20 6f | 70 74 69 6f 6e 61 6c 20 |If the o|ptional |
|000001b0| 0d 73 63 61 6c 61 72 20 | 61 72 67 75 6d 65 6e 74 |.scalar |argument|
|000001c0| 20 69 73 20 70 72 65 73 | 65 6e 74 2c 20 74 68 65 | is pres|ent, the|
|000001d0| 6e 20 69 74 20 73 70 65 | 63 69 66 69 65 73 20 74 |n it spe|cifies t|
|000001e0| 68 65 20 64 69 61 67 6f | 6e 61 6c 20 74 6f 20 75 |he diago|nal to u|
|000001f0| 73 65 20 69 6e 73 74 65 | 61 64 0d 6f 66 20 74 68 |se inste|ad.of th|
|00000200| 65 20 6d 61 69 6e 20 64 | 69 61 67 6f 6e 61 6c 2e |e main d|iagonal.|
|00000210| 20 20 54 68 65 20 63 6f | 6e 76 65 6e 74 69 6f 6e | The co|nvention|
|00000220| 20 75 73 65 64 20 69 73 | 20 74 68 61 74 20 70 6f | used is| that po|
|00000230| 73 69 74 69 76 65 20 76 | 61 6c 75 65 73 20 61 72 |sitive v|alues ar|
|00000240| 65 0d 61 62 6f 76 65 20 | 74 68 65 20 6d 61 69 6e |e.above |the main|
|00000250| 20 64 69 61 67 6f 6e 61 | 6c 2c 20 6e 65 67 61 74 | diagona|l, negat|
|00000260| 69 76 65 20 76 61 6c 75 | 65 73 20 61 72 65 20 62 |ive valu|es are b|
|00000270| 65 6c 6f 77 20 74 68 65 | 20 6d 61 69 6e 20 64 69 |elow the| main di|
|00000280| 61 67 6f 6e 61 6c 2c 20 | 61 6e 64 0d 7a 65 72 6f |agonal, |and.zero|
|00000290| 20 69 73 20 74 68 65 20 | 6d 61 69 6e 20 64 69 61 | is the |main dia|
|000002a0| 67 6f 6e 61 6c 2e 0d 0d | 24 5c 4c 6f 6e 67 72 69 |gonal...|$\Longri|
|000002b0| 67 68 74 61 72 72 6f 77 | 24 20 54 68 69 73 20 69 |ghtarrow|$ This i|
|000002c0| 73 20 6e 6f 74 20 61 6e | 20 5c 52 4c 61 42 5c 20 |s not an| \RLaB\ |
|000002d0| 62 75 69 6c 74 2d 69 6e | 20 66 75 6e 63 74 69 6f |built-in| functio|
|000002e0| 6e 2e 20 20 54 68 69 73 | 20 66 75 6e 63 74 69 6f |n. This| functio|
|000002f0| 6e 0d 69 73 20 6e 6f 72 | 6d 61 6c 6c 79 20 6c 6f |n.is nor|mally lo|
|00000300| 61 64 65 64 20 6f 6e 20 | 73 74 61 72 74 2d 75 70 |aded on |start-up|
|00000310| 20 66 72 6f 6d 20 74 68 | 65 20 5c 76 65 72 62 2b | from th|e \verb+|
|00000320| 74 72 69 75 2e 72 2b 20 | 66 69 6c 65 20 69 6e 20 |triu.r+ |file in |
|00000330| 74 68 65 0d 73 74 61 6e | 64 61 72 64 20 5c 76 65 |the.stan|dard \ve|
|00000340| 72 62 2b 72 6c 69 62 2b | 20 64 69 72 65 63 74 6f |rb+rlib+| directo|
|00000350| 72 79 2e 20 55 73 65 20 | 6f 66 20 74 68 65 20 5c |ry. Use |of the \|
|00000360| 76 65 72 62 2b 2d 72 2b | 20 6f 70 74 69 6f 6e 2c |verb+-r+| option,|
|00000370| 20 69 6e 63 6f 72 72 65 | 63 74 6c 79 20 0d 73 65 | incorre|ctly .se|
|00000380| 74 74 69 6e 67 20 74 68 | 65 20 5c 76 65 72 62 2b |tting th|e \verb+|
|00000390| 52 4c 41 42 5f 4c 49 42 | 5f 44 49 52 2b 20 65 6e |RLAB_LIB|_DIR+ en|
|000003a0| 76 69 72 6f 6e 6d 65 6e | 74 61 6c 20 76 61 72 69 |vironmen|tal vari|
|000003b0| 61 62 6c 65 2c 20 6f 72 | 20 6d 6f 64 69 66 79 69 |able, or| modifyi|
|000003c0| 6e 67 0d 5c 76 65 72 62 | 2b 74 72 69 75 2e 72 2b |ng.\verb|+triu.r+|
|000003d0| 20 6d 61 79 20 6d 61 6b | 65 20 74 68 69 73 20 66 | may mak|e this f|
|000003e0| 75 6e 63 74 69 6f 6e 20 | 75 6e 61 76 61 69 6c 61 |unction |unavaila|
|000003f0| 62 6c 65 2e 0d 0d 0d 5c | 70 61 72 61 67 72 61 70 |ble....\|paragrap|
|00000400| 68 7b 45 78 61 6d 70 6c | 65 7d 0d 5c 69 6e 64 65 |h{Exampl|e}.\inde|
|00000410| 78 7b 65 78 61 6d 70 6c | 65 20 6f 66 20 74 72 69 |x{exampl|e of tri|
|00000420| 75 28 29 7d 0d 5c 69 6e | 64 65 78 7b 74 72 69 75 |u()}.\in|dex{triu|
|00000430| 28 29 21 65 78 61 6d 70 | 6c 65 7d 0d 5c 62 65 67 |()!examp|le}.\beg|
|00000440| 69 6e 7b 76 65 72 62 61 | 74 69 6d 7d 0d 3e 20 63 |in{verba|tim}.> c|
|00000450| 20 3d 20 72 61 6e 64 28 | 33 2c 35 29 0d 20 63 20 | = rand(|3,5). c |
|00000460| 3d 0d 20 20 20 20 20 20 | 20 20 31 20 20 20 20 20 |=. | 1 |
|00000470| 20 30 2e 33 33 33 20 20 | 20 20 20 20 30 2e 36 36 | 0.333 | 0.66|
|00000480| 35 20 20 20 20 20 20 30 | 2e 31 36 37 20 20 20 20 |5 0|.167 |
|00000490| 20 20 20 30 2e 39 31 20 | 20 0d 20 20 20 20 30 2e | 0.91 | . 0.|
|000004a0| 39 37 35 20 20 20 20 20 | 30 2e 30 33 36 39 20 20 |975 |0.0369 |
|000004b0| 20 20 20 30 2e 30 38 34 | 37 20 20 20 20 20 20 30 | 0.084|7 0|
|000004c0| 2e 36 35 35 20 20 20 20 | 20 20 30 2e 31 31 32 20 |.655 | 0.112 |
|000004d0| 20 0d 20 20 20 20 30 2e | 36 34 37 20 20 20 20 20 | . 0.|647 |
|000004e0| 20 30 2e 31 36 32 20 20 | 20 20 20 20 30 2e 32 30 | 0.162 | 0.20|
|000004f0| 34 20 20 20 20 20 20 30 | 2e 31 32 39 20 20 20 20 |4 0|.129 |
|00000500| 20 20 30 2e 32 39 39 20 | 20 0d 3e 20 74 72 69 75 | 0.299 | .> triu|
|00000510| 28 63 29 0d 20 20 20 20 | 20 20 20 20 31 20 20 20 |(c). | 1 |
|00000520| 20 20 20 30 2e 33 33 33 | 20 20 20 20 20 20 30 2e | 0.333| 0.|
|00000530| 36 36 35 20 20 20 20 20 | 20 30 2e 31 36 37 20 20 |665 | 0.167 |
|00000540| 20 20 20 20 20 30 2e 39 | 31 20 20 0d 20 20 20 20 | 0.9|1 . |
|00000550| 20 20 20 20 30 20 20 20 | 20 20 30 2e 30 33 36 39 | 0 | 0.0369|
|00000560| 20 20 20 20 20 30 2e 30 | 38 34 37 20 20 20 20 20 | 0.0|847 |
|00000570| 20 30 2e 36 35 35 20 20 | 20 20 20 20 30 2e 31 31 | 0.655 | 0.11|
|00000580| 32 20 20 0d 20 20 20 20 | 20 20 20 20 30 20 20 20 |2 . | 0 |
|00000590| 20 20 20 20 20 20 20 30 | 20 20 20 20 20 20 30 2e | 0| 0.|
|000005a0| 32 30 34 20 20 20 20 20 | 20 30 2e 31 32 39 20 20 |204 | 0.129 |
|000005b0| 20 20 20 20 30 2e 32 39 | 39 20 20 0d 3e 20 74 72 | 0.29|9 .> tr|
|000005c0| 69 75 28 63 2c 32 29 0d | 20 20 20 20 20 20 20 20 |iu(c,2).| |
|000005d0| 30 20 20 20 20 20 20 20 | 20 20 20 30 20 20 20 20 |0 | 0 |
|000005e0| 20 20 30 2e 36 36 35 20 | 20 20 20 20 20 30 2e 31 | 0.665 | 0.1|
|000005f0| 36 37 20 20 20 20 20 20 | 20 30 2e 39 31 20 20 0d |67 | 0.91 .|
|00000600| 20 20 20 20 20 20 20 20 | 30 20 20 20 20 20 20 20 | |0 |
|00000610| 20 20 20 30 20 20 20 20 | 20 20 20 20 20 20 30 20 | 0 | 0 |
|00000620| 20 20 20 20 20 30 2e 36 | 35 35 20 20 20 20 20 20 | 0.6|55 |
|00000630| 30 2e 31 31 32 20 20 0d | 20 20 20 20 20 20 20 20 |0.112 .| |
|00000640| 30 20 20 20 20 20 20 20 | 20 20 20 30 20 20 20 20 |0 | 0 |
|00000650| 20 20 20 20 20 20 30 20 | 20 20 20 20 20 20 20 20 | 0 | |
|00000660| 20 30 20 20 20 20 20 20 | 30 2e 32 39 39 20 20 0d | 0 |0.299 .|
|00000670| 3e 20 74 72 69 75 28 63 | 2c 2d 31 29 0d 20 20 20 |> triu(c|,-1). |
|00000680| 20 20 20 20 20 31 20 20 | 20 20 20 20 30 2e 33 33 | 1 | 0.33|
|00000690| 33 20 20 20 20 20 20 30 | 2e 36 36 35 20 20 20 20 |3 0|.665 |
|000006a0| 20 20 30 2e 31 36 37 20 | 20 20 20 20 20 20 30 2e | 0.167 | 0.|
|000006b0| 39 31 20 20 0d 20 20 20 | 20 30 2e 39 37 35 20 20 |91 . | 0.975 |
|000006c0| 20 20 20 30 2e 30 33 36 | 39 20 20 20 20 20 30 2e | 0.036|9 0.|
|000006d0| 30 38 34 37 20 20 20 20 | 20 20 30 2e 36 35 35 20 |0847 | 0.655 |
|000006e0| 20 20 20 20 20 30 2e 31 | 31 32 20 20 0d 20 20 20 | 0.1|12 . |
|000006f0| 20 20 20 20 20 30 20 20 | 20 20 20 20 30 2e 31 36 | 0 | 0.16|
|00000700| 32 20 20 20 20 20 20 30 | 2e 32 30 34 20 20 20 20 |2 0|.204 |
|00000710| 20 20 30 2e 31 32 39 20 | 20 20 20 20 20 30 2e 32 | 0.129 | 0.2|
|00000720| 39 39 20 20 0d 5c 65 6e | 64 7b 76 65 72 62 61 74 |99 .\en|d{verbat|
|00000730| 69 6d 7d 0d 0d 53 65 65 | 20 61 6c 73 6f 3a 20 50 |im}..See| also: P|
|00000740| 61 67 65 7e 5c 70 61 67 | 65 72 65 66 7b 66 6e 3a |age~\pag|eref{fn:|
|00000750| 74 72 69 6c 7d 20 5c 76 | 65 72 62 2b 74 72 69 6c |tril} \v|erb+tril|
|00000760| 28 29 2b 2e 0d 0d 5c 6e | 65 77 70 61 67 65 0d 0d |()+...\n|ewpage..|
|00000770| 0d 0d | |.. | |
+--------+-------------------------+-------------------------+--------+--------+