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: intersec.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 69 6e 74 65 72 73 65 |\section|{interse|
|00000010| 63 74 69 6f 6e 20 2d 2d | 2d 20 53 65 74 20 69 6e |ction --|- Set in|
|00000020| 74 65 72 73 65 63 74 69 | 6f 6e 7d 0d 5c 6c 61 62 |tersecti|on}.\lab|
|00000030| 65 6c 7b 66 6e 3a 69 6e | 74 65 72 73 65 63 74 69 |el{fn:in|tersecti|
|00000040| 6f 6e 7d 0d 5c 69 6e 64 | 65 78 7b 69 6e 74 65 72 |on}.\ind|ex{inter|
|00000050| 73 65 63 74 69 6f 6e 28 | 29 7d 0d 5c 69 6e 64 65 |section(|)}.\inde|
|00000060| 78 7b 73 65 74 21 69 6e | 74 65 72 73 65 63 74 69 |x{set!in|tersecti|
|00000070| 6f 6e 7d 0d 5c 69 6e 64 | 65 78 7b 69 6e 74 65 72 |on}.\ind|ex{inter|
|00000080| 73 65 63 74 69 6f 6e 20 | 6f 66 20 74 77 6f 20 73 |section |of two s|
|00000090| 65 74 73 7d 0d 5c 62 65 | 67 69 6e 7b 72 61 69 6c |ets}.\be|gin{rail|
|000000a0| 7d 0d 49 6e 74 65 72 73 | 65 63 74 69 6f 6e 20 3a |}.Inters|ection :|
|000000b0| 20 27 69 6e 74 65 72 73 | 65 63 74 69 6f 6e 27 20 | 'inters|ection' |
|000000c0| 27 28 27 20 4d 61 74 72 | 69 78 20 27 2c 27 20 20 |'(' Matr|ix ',' |
|000000d0| 4d 61 74 72 69 78 20 27 | 29 27 20 3b 0d 5c 65 6e |Matrix '|)' ;.\en|
|000000e0| 64 7b 72 61 69 6c 7d 0d | 0d 5c 76 65 72 62 2b 69 |d{rail}.|.\verb+i|
|000000f0| 6e 74 65 72 73 65 63 74 | 69 6f 6e 2b 20 63 61 6c |ntersect|ion+ cal|
|00000100| 63 75 6c 61 74 65 73 20 | 74 68 65 20 69 6e 74 65 |culates |the inte|
|00000110| 72 73 65 63 74 69 6f 6e | 20 6f 66 20 74 68 65 20 |rsection| of the |
|00000120| 74 77 6f 20 73 65 74 73 | 0d 73 75 70 70 6c 69 65 |two sets|.supplie|
|00000130| 64 20 61 73 20 61 72 67 | 75 6d 65 6e 74 73 2e 20 |d as arg|uments. |
|00000140| 20 54 68 65 20 69 6e 74 | 65 72 73 65 63 74 69 6f | The int|ersectio|
|00000150| 6e 20 6f 66 20 74 77 6f | 20 73 65 74 73 20 69 73 |n of two| sets is|
|00000160| 20 6a 75 73 74 20 74 68 | 65 0d 69 74 65 6d 73 20 | just th|e.items |
|00000170| 74 68 61 74 20 61 72 65 | 20 63 6f 6d 6d 6f 6e 20 |that are| common |
|00000180| 74 6f 20 62 6f 74 68 2e | 0d 0d 24 5c 4c 6f 6e 67 |to both.|..$\Long|
|00000190| 72 69 67 68 74 61 72 72 | 6f 77 24 20 54 68 69 73 |rightarr|ow$ This|
|000001a0| 20 69 73 20 6e 6f 74 20 | 61 6e 20 5c 52 4c 61 42 | is not |an \RLaB|
|000001b0| 5c 20 62 75 69 6c 74 2d | 69 6e 20 66 75 6e 63 74 |\ built-|in funct|
|000001c0| 69 6f 6e 2e 20 20 54 68 | 69 73 20 66 75 6e 63 74 |ion. Th|is funct|
|000001d0| 69 6f 6e 0d 69 73 20 6e | 6f 72 6d 61 6c 6c 79 20 |ion.is n|ormally |
|000001e0| 6c 6f 61 64 65 64 20 6f | 6e 20 73 74 61 72 74 2d |loaded o|n start-|
|000001f0| 75 70 20 66 72 6f 6d 20 | 74 68 65 20 5c 76 65 72 |up from |the \ver|
|00000200| 62 2b 69 6e 74 65 72 73 | 65 63 74 69 6f 6e 2e 72 |b+inters|ection.r|
|00000210| 2b 20 66 69 6c 65 20 69 | 6e 20 74 68 65 0d 73 74 |+ file i|n the.st|
|00000220| 61 6e 64 61 72 64 20 5c | 76 65 72 62 2b 72 6c 69 |andard \|verb+rli|
|00000230| 62 2b 20 64 69 72 65 63 | 74 6f 72 79 2e 20 55 73 |b+ direc|tory. Us|
|00000240| 65 20 6f 66 20 74 68 65 | 20 5c 76 65 72 62 2b 2d |e of the| \verb+-|
|00000250| 72 2b 20 6f 70 74 69 6f | 6e 2c 20 69 6e 63 6f 72 |r+ optio|n, incor|
|00000260| 72 65 63 74 6c 79 20 0d | 73 65 74 74 69 6e 67 20 |rectly .|setting |
|00000270| 74 68 65 20 5c 76 65 72 | 62 2b 52 4c 41 42 5f 4c |the \ver|b+RLAB_L|
|00000280| 49 42 5f 44 49 52 2b 20 | 65 6e 76 69 72 6f 6e 6d |IB_DIR+ |environm|
|00000290| 65 6e 74 61 6c 20 76 61 | 72 69 61 62 6c 65 2c 20 |ental va|riable, |
|000002a0| 6f 72 20 6d 6f 64 69 66 | 79 69 6e 67 0d 5c 76 65 |or modif|ying.\ve|
|000002b0| 72 62 2b 69 6e 74 65 72 | 73 65 63 74 69 6f 6e 2e |rb+inter|section.|
|000002c0| 72 2b 20 6d 61 79 20 6d | 61 6b 65 20 74 68 69 73 |r+ may m|ake this|
|000002d0| 20 66 75 6e 63 74 69 6f | 6e 20 75 6e 61 76 61 69 | functio|n unavai|
|000002e0| 6c 61 62 6c 65 2e 0d 0d | 5c 70 61 72 61 67 72 61 |lable...|\paragra|
|000002f0| 70 68 7b 45 78 61 6d 70 | 6c 65 7d 0d 5c 69 6e 64 |ph{Examp|le}.\ind|
|00000300| 65 78 7b 65 78 61 6d 70 | 6c 65 20 6f 66 20 69 6e |ex{examp|le of in|
|00000310| 74 65 72 73 65 63 74 69 | 6f 6e 28 29 7d 0d 5c 69 |tersecti|on()}.\i|
|00000320| 6e 64 65 78 7b 69 6e 74 | 65 72 73 65 63 74 69 6f |ndex{int|ersectio|
|00000330| 6e 28 29 21 65 78 61 6d | 70 6c 65 7d 0d 5c 62 65 |n()!exam|ple}.\be|
|00000340| 67 69 6e 7b 76 65 72 62 | 61 74 69 6d 7d 0d 3e 20 |gin{verb|atim}.> |
|00000350| 61 20 3d 20 31 3a 36 0d | 20 61 20 3d 0d 20 20 20 |a = 1:6.| a =. |
|00000360| 20 20 20 20 20 31 20 20 | 20 20 20 20 20 20 20 20 | 1 | |
|00000370| 32 20 20 20 20 20 20 20 | 20 20 20 33 20 20 20 20 |2 | 3 |
|00000380| 20 20 20 20 20 20 34 20 | 20 20 20 20 20 20 20 20 | 4 | |
|00000390| 20 35 20 20 20 20 20 20 | 20 20 20 20 36 20 20 0d | 5 | 6 .|
|000003a0| 3e 20 62 20 3d 20 5b 30 | 2c 34 2c 32 2c 2d 34 2c |> b = [0|,4,2,-4,|
|000003b0| 37 5d 0d 20 62 20 3d 0d | 20 20 20 20 20 20 20 20 |7]. b =.| |
|000003c0| 30 20 20 20 20 20 20 20 | 20 20 20 34 20 20 20 20 |0 | 4 |
|000003d0| 20 20 20 20 20 20 32 20 | 20 20 20 20 20 20 20 20 | 2 | |
|000003e0| 2d 34 20 20 20 20 20 20 | 20 20 20 20 37 20 20 0d |-4 | 7 .|
|000003f0| 3e 20 69 6e 74 65 72 73 | 65 63 74 69 6f 6e 28 61 |> inters|ection(a|
|00000400| 2c 62 29 0d 20 20 20 20 | 20 20 20 20 32 20 20 20 |,b). | 2 |
|00000410| 20 20 20 20 20 20 20 34 | 20 20 0d 5c 65 6e 64 7b | 4| .\end{|
|00000420| 76 65 72 62 61 74 69 6d | 7d 0d 0d 53 65 65 20 61 |verbatim|}..See a|
|00000430| 6c 73 6f 3a 20 50 61 67 | 65 7e 5c 70 61 67 65 72 |lso: Pag|e~\pager|
|00000440| 65 66 7b 66 6e 3a 63 6f | 6d 70 6c 65 6d 65 6e 74 |ef{fn:co|mplement|
|00000450| 7d 20 5c 76 65 72 62 2b | 63 6f 6d 70 6c 65 6d 65 |} \verb+|compleme|
|00000460| 6e 74 28 29 2b 2c 0d 50 | 61 67 65 7e 5c 70 61 67 |nt()+,.P|age~\pag|
|00000470| 65 72 65 66 7b 66 6e 3a | 73 65 74 7d 20 5c 76 65 |eref{fn:|set} \ve|
|00000480| 72 62 2b 73 65 74 28 29 | 2b 2c 0d 50 61 67 65 7e |rb+set()|+,.Page~|
|00000490| 5c 70 61 67 65 72 65 66 | 7b 66 6e 3a 75 6e 69 6f |\pageref|{fn:unio|
|000004a0| 6e 7d 20 5c 76 65 72 62 | 2b 75 6e 69 6f 6e 28 29 |n} \verb|+union()|
|000004b0| 2b 2e 0d 0d 5c 6e 65 77 | 70 61 67 65 0d 0d 0d |+...\new|page... |
+--------+-------------------------+-------------------------+--------+--------+