(*********************************************************************** Mathematica-Compatible Notebook This notebook can be used on any computer system with Mathematica 4.0, MathReader 4.0, or any compatible application. The data for the notebook starts with the line containing stars above. To get the notebook into a Mathematica-compatible application, do one of the following: * Save the data starting with the line of stars above into a file with a name ending in .nb, then open the file inside the application; * Copy the data starting with the line of stars above to the clipboard, then use the Paste menu command inside the application. Data for notebooks contains only printable 7-bit ASCII and can be sent directly in email or through ftp in text mode. Newlines can be CR, LF or CRLF (Unix, Macintosh or MS-DOS style). NOTE: If you modify the data for this notebook not in a Mathematica- compatible application, you must delete the line below containing the word CacheID, otherwise Mathematica-compatible applications may try to use invalid cache data. For more information on notebooks and Mathematica-compatible applications, contact Wolfram Research: web: http://www.wolfram.com email: info@wolfram.com phone: +1-217-398-0700 (U.S.) Notebook reader applications are available free of charge from Wolfram Research. ***********************************************************************) (*CacheID: 232*) (*NotebookFileLineBreakTest NotebookFileLineBreakTest*) (*NotebookOptionsPosition[ 43999, 1322]*) (*NotebookOutlinePosition[ 44938, 1352]*) (* CellTagsIndexPosition[ 44894, 1348]*) (*WindowFrame->Normal*) Notebook[{ Cell[CellGroupData[{ Cell["The package FilterOptions", "Title"], Cell["\<\ Bernd Thaller Institute for Mathematics University of Graz\ \>", "Subsubsection"], Cell[CellGroupData[{ Cell["\<\ Source: Roman Maeder, Programming in Mathematica Second Edition, Addison-Wesley 1991 (Third Edition, Addison-Wesley, 1996) Mathematica Standard Packages\ \>", "Subsubtitle"], Cell[CellGroupData[{ Cell["Listing", "Section"], Cell[TextData[{ StyleBox["It is the main purpose of FilterOptions to choose from a given \ sequence of options a sub sequence fitting to a given ", "Text"], StyleBox["Mathematica", "Text", FontSlant->"Italic"], StyleBox[" command. The package FilterOptions.m is one of ", "Text"], StyleBox["Mathematica", "Text", FontSlant->"Italic"], StyleBox["'a standard packages. The code by Roman Maeder is as follows.", "Text"] }], "Text"], Cell["\<\ BeginPackage[\"Utilities`FilterOptions`\"] FilterOptions::usage = \"FilterOptions[symbol, options..] returns a sequence \tof those options that are valid options for symbol. \tFilterOptions[{opts..}, options..] filters out options with names opts.\" Begin[\"`Private`\"] FilterOptions[ command_Symbol, options___ ] := \tFilterOptions[ First /@ Options[command], options ] FilterOptions[ opts_List, options___ ] := \tSequence @@ Select[ Flatten[{options}], MemberQ[opts, First[#]]& ] End[ ] Protect[ FilterOptions ] EndPackage[ ] \ \>", "Program"] }, Closed]], Cell[CellGroupData[{ Cell[TextData[{ "The ", StyleBox["Mathematica", FontSlant->"Italic"], " command \"Sequence\"" }], "Section"], Cell[TextData[{ "Let us analyze what this package does. In ", StyleBox["Mathematica", FontSlant->"Italic"], ", options are usually given as a list of rules. Consider, for example, " }], "Text"], Cell[CellGroupData[{ Cell["\<\ Plot[Sin[x],{x,-Pi,Pi},Axes->{True,False}, Frame->True, PlotLabel->\ \"Sine-Function\"]\ \>", "Input"], Cell[GraphicsData["PostScript", "\<\ %! %%Creator: Mathematica %%AspectRatio: .61803 MathPictureStart /Mabs { Mgmatrix idtransform Mtmatrix dtransform } bind def /Mabsadd { Mabs 3 -1 roll add 3 1 roll add exch } bind def %% Graphics %%IncludeResource: font Courier %%IncludeFont: Courier /Courier findfont 10 scalefont setfont % Scaling calculations 0.5 0.151576 0.309018 0.294303 [ [.04527 -0.0125 -6 -9 ] [.04527 -0.0125 6 0 ] [.19685 -0.0125 -6 -9 ] [.19685 -0.0125 6 0 ] [.34842 -0.0125 -6 -9 ] [.34842 -0.0125 6 0 ] [.5 -0.0125 -3 -9 ] [.5 -0.0125 3 0 ] [.65158 -0.0125 -3 -9 ] [.65158 -0.0125 3 0 ] [.80315 -0.0125 -3 -9 ] [.80315 -0.0125 3 0 ] [.95473 -0.0125 -3 -9 ] [.95473 -0.0125 3 0 ] [ 0 0 -0.125 0 ] [-0.0125 .01471 -12 -4.5 ] [-0.0125 .01471 0 4.5 ] [-0.0125 .16187 -24 -4.5 ] [-0.0125 .16187 0 4.5 ] [-0.0125 .30902 -6 -4.5 ] [-0.0125 .30902 0 4.5 ] [-0.0125 .45617 -18 -4.5 ] [-0.0125 .45617 0 4.5 ] [-0.0125 .60332 -6 -4.5 ] [-0.0125 .60332 0 4.5 ] [ 0 0 -0.125 0 ] [ 0 .61803 .125 0 ] [ 1 0 .125 0 ] [.5 .63053 -41 0 ] [.5 .63053 41 12 ] [ 0 0 0 0 ] [ 1 .61803 0 0 ] ] MathScale % Start of Graphics 1 setlinecap 1 setlinejoin newpath 0 g .25 Mabswid [ ] 0 setdash .04527 0 m .04527 .00625 L s [(-3)] .04527 -0.0125 0 1 Mshowa .19685 0 m .19685 .00625 L s [(-2)] .19685 -0.0125 0 1 Mshowa .34842 0 m .34842 .00625 L s [(-1)] .34842 -0.0125 0 1 Mshowa .5 0 m .5 .00625 L s [(0)] .5 -0.0125 0 1 Mshowa .65158 0 m .65158 .00625 L s [(1)] .65158 -0.0125 0 1 Mshowa .80315 0 m .80315 .00625 L s [(2)] .80315 -0.0125 0 1 Mshowa .95473 0 m .95473 .00625 L s [(3)] .95473 -0.0125 0 1 Mshowa .125 Mabswid .07559 0 m .07559 .00375 L s .1059 0 m .1059 .00375 L s .13622 0 m .13622 .00375 L s .16653 0 m .16653 .00375 L s .22716 0 m .22716 .00375 L s .25748 0 m .25748 .00375 L s .28779 0 m .28779 .00375 L s .31811 0 m .31811 .00375 L s .37874 0 m .37874 .00375 L s .40905 0 m .40905 .00375 L s .43937 0 m .43937 .00375 L s .46968 0 m .46968 .00375 L s .53032 0 m .53032 .00375 L s .56063 0 m .56063 .00375 L s .59095 0 m .59095 .00375 L s .62126 0 m .62126 .00375 L s .68189 0 m .68189 .00375 L s .71221 0 m .71221 .00375 L s .74252 0 m .74252 .00375 L s .77284 0 m .77284 .00375 L s .83347 0 m .83347 .00375 L s .86378 0 m .86378 .00375 L s .8941 0 m .8941 .00375 L s .92441 0 m .92441 .00375 L s .01496 0 m .01496 .00375 L s .98504 0 m .98504 .00375 L s .25 Mabswid 0 0 m 1 0 L s 0 .01471 m .00625 .01471 L s [(-1)] -0.0125 .01471 1 0 Mshowa 0 .16187 m .00625 .16187 L s [(-0.5)] -0.0125 .16187 1 0 Mshowa 0 .30902 m .00625 .30902 L s [(0)] -0.0125 .30902 1 0 Mshowa 0 .45617 m .00625 .45617 L s [(0.5)] -0.0125 .45617 1 0 Mshowa 0 .60332 m .00625 .60332 L s [(1)] -0.0125 .60332 1 0 Mshowa .125 Mabswid 0 .04415 m .00375 .04415 L s 0 .07358 m .00375 .07358 L s 0 .10301 m .00375 .10301 L s 0 .13244 m .00375 .13244 L s 0 .1913 m .00375 .1913 L s 0 .22073 m .00375 .22073 L s 0 .25016 m .00375 .25016 L s 0 .27959 m .00375 .27959 L s 0 .33845 m .00375 .33845 L s 0 .36788 m .00375 .36788 L s 0 .39731 m .00375 .39731 L s 0 .42674 m .00375 .42674 L s 0 .4856 m .00375 .4856 L s 0 .51503 m .00375 .51503 L s 0 .54446 m .00375 .54446 L s 0 .57389 m .00375 .57389 L s .25 Mabswid 0 0 m 0 .61803 L s .04527 .61178 m .04527 .61803 L s .19685 .61178 m .19685 .61803 L s .34842 .61178 m .34842 .61803 L s .5 .61178 m .5 .61803 L s .65158 .61178 m .65158 .61803 L s .80315 .61178 m .80315 .61803 L s .95473 .61178 m .95473 .61803 L s .125 Mabswid .07559 .61428 m .07559 .61803 L s .1059 .61428 m .1059 .61803 L s .13622 .61428 m .13622 .61803 L s .16653 .61428 m .16653 .61803 L s .22716 .61428 m .22716 .61803 L s .25748 .61428 m .25748 .61803 L s .28779 .61428 m .28779 .61803 L s .31811 .61428 m .31811 .61803 L s .37874 .61428 m .37874 .61803 L s .40905 .61428 m .40905 .61803 L s .43937 .61428 m .43937 .61803 L s .46968 .61428 m .46968 .61803 L s .53032 .61428 m .53032 .61803 L s .56063 .61428 m .56063 .61803 L s .59095 .61428 m .59095 .61803 L s .62126 .61428 m .62126 .61803 L s .68189 .61428 m .68189 .61803 L s .71221 .61428 m .71221 .61803 L s .74252 .61428 m .74252 .61803 L s .77284 .61428 m .77284 .61803 L s .83347 .61428 m .83347 .61803 L s .86378 .61428 m .86378 .61803 L s .8941 .61428 m .8941 .61803 L s .92441 .61428 m .92441 .61803 L s .01496 .61428 m .01496 .61803 L s .98504 .61428 m .98504 .61803 L s .25 Mabswid 0 .61803 m 1 .61803 L s .99375 .01471 m 1 .01471 L s .99375 .16187 m 1 .16187 L s .99375 .30902 m 1 .30902 L s .99375 .45617 m 1 .45617 L s .99375 .60332 m 1 .60332 L s .125 Mabswid .99625 .04415 m 1 .04415 L s .99625 .07358 m 1 .07358 L s .99625 .10301 m 1 .10301 L s .99625 .13244 m 1 .13244 L s .99625 .1913 m 1 .1913 L s .99625 .22073 m 1 .22073 L s .99625 .25016 m 1 .25016 L s .99625 .27959 m 1 .27959 L s .99625 .33845 m 1 .33845 L s .99625 .36788 m 1 .36788 L s .99625 .39731 m 1 .39731 L s .99625 .42674 m 1 .42674 L s .99625 .4856 m 1 .4856 L s .99625 .51503 m 1 .51503 L s .99625 .54446 m 1 .54446 L s .99625 .57389 m 1 .57389 L s .25 Mabswid 1 0 m 1 .61803 L s 0 .30902 m 1 .30902 L s gsave .5 .63053 -102 -4 Mabsadd m 1 1 Mabs scale currentpoint translate /MISOfy { /newfontname exch def /oldfontname exch def oldfontname findfont dup length dict begin {1 index /FID ne {def} {pop pop} ifelse} forall /Encoding ISOLatin1Encoding def currentdict end newfontname exch definefont pop } def 0 20 translate 1 -1 scale 63.000 13.000 moveto %%IncludeResource: font Courier %%IncludeFont: Courier /Courier findfont 10.000 scalefont [1 0 0 -1 0 0 ] makefont setfont 0.000 0.000 0.000 setrgbcolor 0.000 0.000 rmoveto 63.000 13.000 moveto %%IncludeResource: font Courier %%IncludeFont: Courier /Courier findfont 10.000 scalefont [1 0 0 -1 0 0 ] makefont setfont 0.000 0.000 0.000 setrgbcolor (Sine) show 87.000 13.000 moveto %%IncludeResource: font Math1Mono %%IncludeFont: Math1Mono /Math1Mono findfont 10.000 scalefont [1 0 0 -1 0 0 ] makefont setfont 0.000 0.000 0.000 setrgbcolor (-) show 93.000 13.000 moveto %%IncludeResource: font Courier %%IncludeFont: Courier /Courier findfont 10.000 scalefont [1 0 0 -1 0 0 ] makefont setfont 0.000 0.000 0.000 setrgbcolor (Function) show 141.000 13.000 moveto %%IncludeResource: font Courier %%IncludeFont: Courier /Courier findfont 10.000 scalefont [1 0 0 -1 0 0 ] makefont setfont 0.000 0.000 0.000 setrgbcolor 0.000 0.000 rmoveto 1.000 setlinewidth grestore 0 0 m 1 0 L 1 .61803 L 0 .61803 L closepath clip newpath .5 Mabswid .02381 .30902 m .06244 .23481 L .10458 .15951 L .14415 .09914 L .18221 .05447 L .20178 .03757 L .21267 .03011 L .22272 .0245 L .23293 .02007 L .23832 .01827 L .24402 .01676 L .24641 .01625 L .24897 .01579 L .25119 .01545 L .25361 .01516 L .25507 .01501 L .25643 .01491 L .25773 .01483 L .2584 .01479 L .25912 .01476 L .25983 .01474 L .26048 .01473 L .26176 .01472 L .26293 .01472 L .26416 .01475 L .26538 .01479 L .26607 .01483 L .26671 .01486 L .26912 .01505 L .27131 .01528 L .27364 .0156 L .27847 .01647 L .2838 .01778 L .29326 .02099 L .30213 .02502 L .32232 .03778 L .34082 .05371 L .38045 .10022 L .41855 .15838 L .45911 .23059 L .49816 .30545 L .53966 .38514 L .57964 .45663 L .61811 .51582 L .63759 .54096 L .65902 .56418 L .67938 .58152 L .69843 .5933 L .70884 .59785 L .71396 .5996 L Mistroke .71872 .60092 L .72301 .60186 L .72758 .60261 L .7302 .60292 L .73148 .60304 L .73266 .60313 L .73371 .6032 L .73487 .60325 L .73603 .60329 L .73725 .60332 L .73856 .60332 L .73977 .6033 L .7404 .60329 L .7411 .60326 L .74251 .6032 L .74375 .60312 L .74508 .60301 L .74748 .60276 L .74985 .60244 L .75235 .60202 L .7568 .60108 L .76198 .59967 L .7668 .59806 L .77773 .59332 L .78828 .58734 L .79823 .58046 L .81683 .5645 L .85534 .51958 L .89632 .45703 L .93577 .38657 L .97371 .31383 L .97619 .30902 L Mfstroke % End of Graphics MathPictureEnd \ \>"], "Graphics", ImageSize->{288, 177.938}, ImageMargins->{{43, 0}, {0, 0}}, ImageRegion->{{0, 1}, {0, 1}}, ImageCache->GraphicsData["Bitmap", "\<\ CF5dJ6E]HGAYHf4PAg9QL6QYHg03oool00`000000oooo0?ooo`2C0?oo o`030000003oool0oooo00L0oooo000S0?ooo`030000003oool0oooo01h0oooo00<000000?ooo`3o ool0>P3oool00`000000oooo0?ooo`2B0?ooo`030000003oool0oooo00L0oooo000S0?ooo`030000 003oool0oooo01h0oooo00<000000?ooo`3oool0>`3oool00`000000oooo0?ooo`2A0?ooo`030000 003oool0oooo00L0oooo000S0?ooo`030000003oool0oooo01d0oooo00<000000?ooo`3oool0?03o ool00`000000oooo0?ooo`2A0?ooo`030000003oool0oooo00L0oooo000S0?ooo`030000003oool0 oooo01`0oooo00<000000?ooo`3oool0?P3oool00`000000oooo0?ooo`2@0?ooo`030000003oool0 oooo00L0oooo000S0?ooo`030000003oool0oooo01`0oooo00<000000?ooo`3oool0?`3oool00`00 0000oooo0?ooo`2?0?ooo`030000003oool0oooo00L0oooo000S0?ooo`800000703oool00`000000 oooo0?ooo`100?ooo`030000003oool0oooo08h0oooo0P0000090?ooo`008`3oool00`000000oooo 0?ooo`0K0?ooo`030000003oool0oooo0440oooo00<000000?ooo`3oool0SP3oool00`000000oooo 0?ooo`070?ooo`008`3oool00`000000oooo0?ooo`0J0?ooo`030000003oool0oooo04<0oooo00<0 00000?ooo`3oool0S@3oool00`000000oooo0?ooo`070?ooo`008`3oool00`000000oooo0?ooo`0I 0?ooo`030000003oool0oooo04D0oooo00<000000?ooo`3oool0S03oool00`000000oooo0?ooo`07 0?ooo`00403oool2000000@0oooo00<000000?ooo`3oool00P3oool3000000D0oooo00<000000?oo o`3oool06@3oool00`000000oooo0?ooo`150?ooo`030000003oool0oooo08`0oooo00<000000?oo o`3oool01`3oool000l0oooo00@000000?ooo`3oool000001`3oool01@000000oooo0?ooo`3oool0 000000@0oooo00<000000?ooo`3oool0603oool00`000000oooo0?ooo`170?ooo`030000003oool0 oooo08/0oooo00<000000?ooo`3oool01`3oool000P0oooo1@0000020?ooo`040000003oool0oooo 000000/0oooo00<000000?ooo`3oool00P3oool00`000000oooo0?ooo`0G0?ooo`030000003oool0 oooo04T0oooo00<000000?ooo`3oool0RP3oool00`000000oooo0?ooo`070?ooo`003`3oool01000 0000oooo0?ooo`00000;0?ooo`030000003oool0oooo0080oooo0`00000G0?ooo`030000003oool0 oooo04T0oooo00<000000?ooo`3oool0R03oool3000000T0oooo000?0?ooo`040000003oool0oooo 000000L0oooo100000050?ooo`030000003oool0oooo01H0oooo00<000000?ooo`3oool0B`3oool0 0`000000oooo0?ooo`290?ooo`030000003oool0oooo00L0oooo000?0?ooo`040000003oool0oooo 000000L0oooo00<000000?ooo`3oool01P3oool00`000000oooo0?ooo`0F0?ooo`030000003oool0 oooo04/0oooo00<000000?ooo`3oool0R@3oool00`000000oooo0?ooo`070?ooo`00403oool20000 00P0oooo1@0000040?ooo`030000003oool0oooo01D0oooo00<000000?ooo`3oool0C@3oool00`00 0000oooo0?ooo`280?ooo`030000003oool0oooo00L0oooo000S0?ooo`030000003oool0oooo01@0 oooo00<000000?ooo`3oool0C`3oool00`000000oooo0?ooo`270?ooo`030000003oool0oooo00L0 oooo000S0?ooo`030000003oool0oooo01@0oooo00<000000?ooo`3oool0C`3oool00`000000oooo 0?ooo`270?ooo`030000003oool0oooo00L0oooo000S0?ooo`030000003oool0oooo01<0oooo00<0 00000?ooo`3oool0D@3oool00`000000oooo0?ooo`260?ooo`030000003oool0oooo00L0oooo000S 0?ooo`800000503oool00`000000oooo0?ooo`1A0?ooo`030000003oool0oooo08D0oooo0P000009 0?ooo`008`3oool00`000000oooo0?ooo`0B0?ooo`030000003oool0oooo05<0oooo00<000000?oo o`3oool0Q@3oool00`000000oooo0?ooo`070?ooo`008`3oool00`000000oooo0?ooo`0A0?ooo`03 0000003oool0oooo05@0oooo00<000000?ooo`3oool0Q@3oool00`000000oooo0?ooo`070?ooo`00 8`3oool00`000000oooo0?ooo`0A0?ooo`030000003oool0oooo05D0oooo00<000000?ooo`3oool0 Q03oool00`000000oooo0?ooo`070?ooo`008`3oool00`000000oooo0?ooo`0@0?ooo`030000003o ool0oooo05H0oooo00<000000?ooo`3oool0Q03oool00`000000oooo0?ooo`070?ooo`008`3oool0 0`000000oooo0?ooo`0@0?ooo`030000003oool0oooo05L0oooo00<000000?ooo`3oool0P`3oool0 0`000000oooo0?ooo`070?ooo`008`3oool00`000000oooo0?ooo`0?0?ooo`030000003oool0oooo 05T0oooo00<000000?ooo`3oool0PP3oool00`000000oooo0?ooo`070?ooo`008`3oool200000100 oooo00<000000?ooo`3oool0F@3oool00`000000oooo0?ooo`210?ooo`8000002@3oool002<0oooo 00<000000?ooo`3oool03P3oool00`000000oooo0?ooo`1K0?ooo`030000003oool0oooo0840oooo 00<000000?ooo`3oool01`3oool002<0oooo00<000000?ooo`3oool03@3oool00`000000oooo0?oo o`1L0?ooo`030000003oool0oooo0840oooo00<000000?ooo`3oool01`3oool002<0oooo00<00000 0?ooo`3oool03@3oool00`000000oooo0?ooo`1M0?ooo`030000003oool0oooo0800oooo00<00000 0?ooo`3oool01`3oool002<0oooo00<000000?ooo`3oool0303oool00`000000oooo0?ooo`1N0?oo o`030000003oool0oooo0800oooo00<000000?ooo`3oool01`3oool002<0oooo00<000000?ooo`3o ool0303oool00`000000oooo0?ooo`1O0?ooo`030000003oool0oooo07l0oooo00<000000?ooo`3o ool01`3oool002<0oooo00<000000?ooo`3oool02`3oool00`000000oooo0?ooo`1P0?ooo`030000 003oool0oooo07l0oooo00<000000?ooo`3oool01`3oool002<0oooo0P00000<0?ooo`030000003o ool0oooo0640oooo00<000000?ooo`3oool0O@3oool2000000T0oooo000S0?ooo`030000003oool0 oooo00X0oooo00<000000?ooo`3oool0HP3oool00`000000oooo0?ooo`1n0?ooo`030000003oool0 oooo00L0oooo000S0?ooo`030000003oool0oooo00X0oooo00<000000?ooo`3oool0H`3oool00`00 0000oooo0?ooo`1m0?ooo`030000003oool0oooo00L0oooo000S0?ooo`030000003oool0oooo00T0 oooo00<000000?ooo`3oool0I03oool00`000000oooo0?ooo`1m0?ooo`030000003oool0oooo00L0 oooo000S0?ooo`030000003oool0oooo00T0oooo00<000000?ooo`3oool0I@3oool00`000000oooo 0?ooo`1l0?ooo`030000003oool0oooo00L0oooo000S0?ooo`030000003oool0oooo00P0oooo00<0 00000?ooo`3oool0IP3oool00`000000oooo0?ooo`1l0?ooo`030000003oool0oooo00L0oooo000S 0?ooo`030000003oool0oooo00P0oooo00<000000?ooo`3oool0I`3oool00`000000oooo0?ooo`1k 0?ooo`030000003oool0oooo00L0oooo000S0?ooo`800000203oool00`000000oooo0?ooo`1X0?oo o`030000003oool0oooo07X0oooo0P0000090?ooo`008`3oool00`000000oooo0?ooo`070?ooo`03 0000003oool0oooo06T0oooo00<000000?ooo`3oool0NP3oool00`000000oooo0?ooo`070?ooo`00 8`3oool00`000000oooo0?ooo`060?ooo`030000003oool0oooo06X0oooo00<000000?ooo`3oool0 NP3oool00`000000oooo0?ooo`070?ooo`008`3oool00`000000oooo0?ooo`060?ooo`030000003o ool0oooo06/0oooo00<000000?ooo`3oool0N@3oool00`000000oooo0?ooo`070?ooo`008`3oool0 0`000000oooo0?ooo`050?ooo`030000003oool0oooo06`0oooo00<000000?ooo`3oool0N@3oool0 0`000000oooo0?ooo`070?ooo`00703oool2000000D0oooo00<000000?ooo`3oool01@3oool00`00 0000oooo0?ooo`1]0?ooo`030000003oool0oooo07P0oooo00<000000?ooo`3oool01`3oool001/0 oooo00@000000?ooo`3oool00000103oool00`000000oooo0?ooo`040?ooo`030000003oool0oooo 06h0oooo00<000000?ooo`3oool0N03oool00`000000oooo0?ooo`070?ooo`006`3oool010000000 oooo0?ooo`0000040?ooo`030000003oool0oooo00@0oooo00<000000?ooo`3oool0K`3oool00`00 0000oooo0?ooo`1g0?ooo`030000003oool0oooo00L0oooo000K0?ooo`040000003oool0oooo0000 00@0oooom00000090?ooo`006`3oool010000000oooo0?ooo`0000040?ooo`030000003oool0oooo 07L0oooo00<000000?ooo`3oool0K`3oool00`000000oooo0?ooo`040?ooo`030000003oool0oooo 00L0oooo000K0?ooo`040000003oool0oooo000000@0oooo00<000000?ooo`3oool0M`3oool00`00 0000oooo0?ooo`1_0?ooo`030000003oool0oooo00@0oooo00<000000?ooo`3oool01`3oool001`0 oooo0P0000050?ooo`030000003oool0oooo07P0oooo00<000000?ooo`3oool0K@3oool00`000000 oooo0?ooo`050?ooo`030000003oool0oooo00L0oooo000S0?ooo`030000003oool0oooo07P0oooo 00<000000?ooo`3oool0K@3oool00`000000oooo0?ooo`050?ooo`030000003oool0oooo00L0oooo 000S0?ooo`030000003oool0oooo07T0oooo00<000000?ooo`3oool0J`3oool00`000000oooo0?oo o`060?ooo`030000003oool0oooo00L0oooo000S0?ooo`030000003oool0oooo07T0oooo00<00000 0?ooo`3oool0J`3oool00`000000oooo0?ooo`060?ooo`030000003oool0oooo00L0oooo000S0?oo o`800000N`3oool00`000000oooo0?ooo`1Y0?ooo`030000003oool0oooo00H0oooo0P0000090?oo o`008`3oool00`000000oooo0?ooo`1j0?ooo`030000003oool0oooo06T0oooo00<000000?ooo`3o ool01`3oool00`000000oooo0?ooo`070?ooo`008`3oool00`000000oooo0?ooo`1k0?ooo`030000 003oool0oooo06L0oooo00<000000?ooo`3oool0203oool00`000000oooo0?ooo`070?ooo`008`3o ool00`000000oooo0?ooo`1l0?ooo`030000003oool0oooo06D0oooo00<000000?ooo`3oool02@3o ool00`000000oooo0?ooo`070?ooo`008`3oool00`000000oooo0?ooo`1l0?ooo`030000003oool0 oooo06D0oooo00<000000?ooo`3oool02@3oool00`000000oooo0?ooo`070?ooo`008`3oool00`00 0000oooo0?ooo`1m0?ooo`030000003oool0oooo06<0oooo00<000000?ooo`3oool02P3oool00`00 0000oooo0?ooo`070?ooo`008`3oool00`000000oooo0?ooo`1m0?ooo`030000003oool0oooo06<0 oooo00<000000?ooo`3oool02P3oool00`000000oooo0?ooo`070?ooo`008`3oool2000007l0oooo 00<000000?ooo`3oool0H@3oool00`000000oooo0?ooo`0:0?ooo`8000002@3oool002<0oooo00<0 00000?ooo`3oool0OP3oool00`000000oooo0?ooo`1Q0?ooo`030000003oool0oooo00/0oooo00<0 00000?ooo`3oool01`3oool002<0oooo00<000000?ooo`3oool0O`3oool00`000000oooo0?ooo`1O 0?ooo`030000003oool0oooo00`0oooo00<000000?ooo`3oool01`3oool002<0oooo00<000000?oo o`3oool0O`3oool00`000000oooo0?ooo`1O0?ooo`030000003oool0oooo00`0oooo00<000000?oo o`3oool01`3oool002<0oooo00<000000?ooo`3oool0P03oool00`000000oooo0?ooo`1M0?ooo`03 0000003oool0oooo00d0oooo00<000000?ooo`3oool01`3oool002<0oooo00<000000?ooo`3oool0 P03oool00`000000oooo0?ooo`1M0?ooo`030000003oool0oooo00d0oooo00<000000?ooo`3oool0 1`3oool002<0oooo00<000000?ooo`3oool0P@3oool00`000000oooo0?ooo`1K0?ooo`030000003o ool0oooo00h0oooo00<000000?ooo`3oool01`3oool002<0oooo0P0000220?ooo`030000003oool0 oooo05/0oooo00<000000?ooo`3oool03@3oool2000000T0oooo000S0?ooo`030000003oool0oooo 0880oooo00<000000?ooo`3oool0F@3oool00`000000oooo0?ooo`0?0?ooo`030000003oool0oooo 00L0oooo000S0?ooo`030000003oool0oooo08<0oooo00<000000?ooo`3oool0F03oool00`000000 oooo0?ooo`0?0?ooo`030000003oool0oooo00L0oooo000S0?ooo`030000003oool0oooo08<0oooo 00<000000?ooo`3oool0E`3oool00`000000oooo0?ooo`0@0?ooo`030000003oool0oooo00L0oooo 000S0?ooo`030000003oool0oooo08@0oooo00<000000?ooo`3oool0EP3oool00`000000oooo0?oo o`0@0?ooo`030000003oool0oooo00L0oooo000S0?ooo`030000003oool0oooo08@0oooo00<00000 0?ooo`3oool0E@3oool00`000000oooo0?ooo`0A0?ooo`030000003oool0oooo00L0oooo000S0?oo o`030000003oool0oooo08D0oooo00<000000?ooo`3oool0D`3oool00`000000oooo0?ooo`0B0?oo o`030000003oool0oooo00L0oooo000S0?ooo`800000Q`3oool00`000000oooo0?ooo`1B0?ooo`03 0000003oool0oooo0140oooo0P0000090?ooo`008`3oool00`000000oooo0?ooo`260?ooo`030000 003oool0oooo0540oooo00<000000?ooo`3oool04`3oool00`000000oooo0?ooo`070?ooo`008`3o ool00`000000oooo0?ooo`270?ooo`030000003oool0oooo0500oooo00<000000?ooo`3oool04`3o ool00`000000oooo0?ooo`070?ooo`008`3oool00`000000oooo0?ooo`270?ooo`030000003oool0 oooo04l0oooo00<000000?ooo`3oool0503oool00`000000oooo0?ooo`070?ooo`008`3oool00`00 0000oooo0?ooo`280?ooo`030000003oool0oooo04h0oooo00<000000?ooo`3oool0503oool00`00 0000oooo0?ooo`070?ooo`00403oool2000000@0oooo00<000000?ooo`3oool00P3oool3000000D0 oooo00<000000?ooo`3oool0R@3oool00`000000oooo0?ooo`1<0?ooo`030000003oool0oooo01D0 oooo00<000000?ooo`3oool01`3oool000l0oooo00@000000?ooo`3oool000001`3oool01@000000 oooo0?ooo`3oool0000000@0oooo00<000000?ooo`3oool0R@3oool00`000000oooo0?ooo`1<0?oo o`030000003oool0oooo01D0oooo00<000000?ooo`3oool01`3oool000l0oooo00@000000?ooo`3o ool000002`3oool00`000000oooo0?ooo`020?ooo`<00000RP3oool00`000000oooo0?ooo`1:0?oo o`030000003oool0oooo01@0oooo0`0000090?ooo`003`3oool010000000oooo0?ooo`00000;0?oo o`030000003oool0oooo0080oooo00<000000?ooo`3oool0RP3oool00`000000oooo0?ooo`1:0?oo o`030000003oool0oooo01H0oooo00<000000?ooo`3oool01`3oool000l0oooo00@000000?ooo`3o ool000001`3oool4000000D0oooo00<000000?ooo`3oool0R`3oool00`000000oooo0?ooo`180?oo o`030000003oool0oooo01L0oooo00<000000?ooo`3oool01`3oool000l0oooo00@000000?ooo`3o ool000001`3oool00`000000oooo0?ooo`060?ooo`030000003oool0oooo08`0oooo00<000000?oo o`3oool0AP3oool00`000000oooo0?ooo`0H0?ooo`030000003oool0oooo00L0oooo000@0?ooo`80 0000203oool5000000@0oooo00<000000?ooo`3oool0S03oool00`000000oooo0?ooo`160?ooo`03 0000003oool0oooo01P0oooo00<000000?ooo`3oool01`3oool002<0oooo00<000000?ooo`3oool0 S@3oool00`000000oooo0?ooo`140?ooo`030000003oool0oooo01T0oooo00<000000?ooo`3oool0 1`3oool002<0oooo00<000000?ooo`3oool0S@3oool00`000000oooo0?ooo`140?ooo`030000003o ool0oooo01T0oooo00<000000?ooo`3oool01`3oool002<0oooo0P00002?0?ooo`030000003oool0 oooo0480oooo00<000000?ooo`3oool06@3oool2000000T0oooo000S0?ooo`030000003oool0oooo 08l0oooo00<000000?ooo`3oool0@03oool00`000000oooo0?ooo`0K0?ooo`030000003oool0oooo 00L0oooo000S0?ooo`030000003oool0oooo08l0oooo00<000000?ooo`3oool0@03oool00`000000 oooo0?ooo`0K0?ooo`030000003oool0oooo00L0oooo000S0?ooo`030000003oool0oooo0900oooo 00<000000?ooo`3oool0?P3oool00`000000oooo0?ooo`0L0?ooo`030000003oool0oooo00L0oooo 000S0?ooo`030000003oool0oooo0900oooo00<000000?ooo`3oool0?@3oool00`000000oooo0?oo o`0M0?ooo`030000003oool0oooo00L0oooo000S0?ooo`030000003oool0oooo0940oooo00<00000 0?ooo`3oool0?03oool00`000000oooo0?ooo`0M0?ooo`030000003oool0oooo00L0oooo000S0?oo o`030000003oool0oooo0980oooo00<000000?ooo`3oool0>P3oool00`000000oooo0?ooo`0N0?oo o`030000003oool0oooo00L0oooo000S0?ooo`800000T`3oool00`000000oooo0?ooo`0j0?ooo`03 0000003oool0oooo01d0oooo0P0000090?ooo`008`3oool00`000000oooo0?ooo`2C0?ooo`030000 003oool0oooo03P0oooo00<000000?ooo`3oool07`3oool00`000000oooo0?ooo`070?ooo`008`3o ool00`000000oooo0?ooo`2C0?ooo`030000003oool0oooo03L0oooo00<000000?ooo`3oool0803o ool00`000000oooo0?ooo`070?ooo`008`3oool00`000000oooo0?ooo`2D0?ooo`030000003oool0 oooo03D0oooo00<000000?ooo`3oool08@3oool00`000000oooo0?ooo`070?ooo`008`3oool00`00 0000oooo0?ooo`2E0?ooo`030000003oool0oooo03<0oooo00<000000?ooo`3oool08P3oool00`00 0000oooo0?ooo`070?ooo`008`3oool00`000000oooo0?ooo`2F0?ooo`030000003oool0oooo0340 oooo00<000000?ooo`3oool08`3oool00`000000oooo0?ooo`070?ooo`008`3oool00`000000oooo 0?ooo`2G0?ooo`030000003oool0oooo02l0oooo00<000000?ooo`3oool0903oool00`000000oooo 0?ooo`070?ooo`008`3oool00`000000oooo0?ooo`2H0?ooo`030000003oool0oooo02d0oooo00<0 00000?ooo`3oool09@3oool00`000000oooo0?ooo`070?ooo`008`3oool2000009X0oooo00<00000 0?ooo`3oool0:`3oool00`000000oooo0?ooo`0U0?ooo`8000002@3oool002<0oooo00<000000?oo o`3oool0VP3oool00`000000oooo0?ooo`0Y0?ooo`030000003oool0oooo02L0oooo00<000000?oo o`3oool01`3oool002<0oooo00<000000?ooo`3oool0V`3oool00`000000oooo0?ooo`0W0?ooo`03 0000003oool0oooo02P0oooo00<000000?ooo`3oool01`3oool002<0oooo00<000000?ooo`3oool0 W03oool00`000000oooo0?ooo`0U0?ooo`030000003oool0oooo02T0oooo00<000000?ooo`3oool0 1`3oool002<0oooo00<000000?ooo`3oool0W@3oool00`000000oooo0?ooo`0S0?ooo`030000003o ool0oooo02X0oooo00<000000?ooo`3oool01`3oool002<0oooo00<000000?ooo`3oool0WP3oool0 0`000000oooo0?ooo`0Q0?ooo`030000003oool0oooo02/0oooo00<000000?ooo`3oool01`3oool0 02<0oooo00<000000?ooo`3oool0W`3oool00`000000oooo0?ooo`0O0?ooo`030000003oool0oooo 02`0oooo00<000000?ooo`3oool01`3oool002<0oooo0P00002Q0?ooo`030000003oool0oooo01d0 oooo00<000000?ooo`3oool0;03oool2000000T0oooo000S0?ooo`030000003oool0oooo0:40oooo 00<000000?ooo`3oool06P3oool200000300oooo00<000000?ooo`3oool01`3oool002<0oooo00<0 00000?ooo`3oool0XP3oool2000001T0oooo00<000000?ooo`3oool0<03oool00`000000oooo0?oo o`070?ooo`008`3oool00`000000oooo0?ooo`2T0?ooo`<00000503oool2000003<0oooo00<00000 0?ooo`3oool01`3oool001/0oooo0`0000050?ooo`030000003oool0oooo0:L0oooo00<000000?oo o`3oool03`3oool2000003D0oooo00<000000?ooo`3oool01`3oool001`0oooo00<000000?ooo`3o ool0103oool00`000000oooo0?ooo`2X0?ooo`030000003oool0oooo00d0oooo00<000000?ooo`3o ool0=@3oool00`000000oooo0?ooo`070?ooo`00703oool00`000000oooo0?ooo`040?ooo`030000 003oool0oooo0:T0oooo100000080?ooo`<00000>03oool00`000000oooo0?ooo`070?ooo`00703o ool00`000000oooo0?ooo`040?ooo`<00000[@3oool8000003T0oooo0`0000090?ooo`00703oool0 0`000000oooo0?ooo`040?ooo`030000003oool0oooo0?00oooo00<000000?ooo`3oool01`3oool0 01/0oooo0P0000060?ooo`030000003oool0oooo00P0oooo00<000000?ooo`3oool08P3oool00`00 0000oooo0?ooo`0R0?ooo`030000003oool0oooo0240oooo00<000000?ooo`3oool08P3oool00`00 0000oooo0?ooo`0R0?ooo`030000003oool0oooo0280oooo00<000000?ooo`3oool0203oool00`00 0000oooo0?ooo`070?ooo`00703oool00`000000oooo0?ooo`040?oooo@000002@3oool00?l0oooo 8@3oool00?l0oooo8@3oool00?l0oooo8@3oool00?l0oooo8@3oool00?l0oooo8@3oool00?l0oooo 8@3oool007H0oooo0`0000020?ooo`D0000000D0oooo00000000000000000?ooo`02000000040?oo o`0000000000000000P0oooo0`0000050?ooo`80000000<0oooo0000000000000P000000103oool0 00000000003oool3000000@0oooo0P0000020?ooo`D000000P3oool300000080oooo0`0000000`3o ool000000000001M0?ooo`00MP3oool010000000oooo0?ooo`0000030?ooo`030000003oool0oooo 0080oooo00H000000?ooo`3oool000000?ooo`00000<0?ooo`030000003oool0oooo00<0oooo00@0 00000?ooo`3oool000000P3oool01P000000oooo0?ooo`000000oooo000000<0oooo00@000000?oo o`3oool000000P3oool01@000000oooo0?ooo`3oool0000000<0oooo00D000000?ooo`3oool0oooo 000000020?ooo`040000003oool0oooo000005h0oooo001i0?ooo`050000003oool0oooo0?ooo`00 0000103oool01@000000oooo0?ooo`000000oooo00D000000P3oool400000080oooo00<000000?oo o`3oool00`3oool010000000oooo0?ooo`0000020?ooo`060000003oool0oooo0000003oool00000 1P3oool00`000000oooo0?ooo`040?ooo`050000003oool0oooo0?ooo`0000000`3oool010000000 oooo0?ooo`0000020?ooo`030000003oool0oooo05`0oooo001g0?ooo`800000103oool00`000000 oooo0?ooo`020?ooo`060000003oool0oooo0000003oool000000`3oool00`000000oooo0?ooo`06 0?ooo`<000000`3oool010000000oooo0?ooo`0000020?ooo`060000003oool0oooo0000003oool0 00000`3oool010000000oooo0?ooo`0000060?ooo`050000003oool0oooo0?ooo`0000000`3oool0 10000000oooo0?ooo`0000020?ooo`030000003oool0oooo05`0oooo001f0?ooo`030000003oool0 oooo0080oooo0`0000030?ooo`@000000`3oool3000000T0oooo00<000000?ooo`3oool00P3oool2 000000040?ooo`00000000000?ooo`@000000`3oool300000080oooo100000020?ooo`<00000103o ool300000080oooo1000001O0?ooo`00MP3oool010000000oooo0?ooo`00000J0?ooo`040000003o ool0oooo000001@0oooo00<000000?ooo`3oool0L@3oool007L0oooo0`0000030?ooo`030000003o ool0oooo01<0oooo1@00000D0?ooo`030000003oool0oooo00@0oooo00<000000?ooo`3oool0JP3o ool00?l0oooo8@3oool00?l0oooo8@3oool00001\ \>"], ImageRangeCache->{{{0, 287}, {176.938, 0}} -> {-4.26997, -1.21859, \ 0.0272054, 0.0140117}}], Cell[BoxData[ TagBox[\(\[SkeletonIndicator] Graphics \[SkeletonIndicator]\), False, Editable->False]], "Output"] }, Open ]], Cell[TextData[{ "As an experienced ", StyleBox["Mathematica", FontSlant->"Italic"], " user you will notice that the options Axes->{True,False}, Frame->True, \ PlotLabel->\"Sine-Function\" are not really given as a list. The braces {} \ are missing. A list with missing braces is called a \"Sequence\" in ", StyleBox["Mathematica", FontSlant->"Italic"], ". Sequence is ", StyleBox["Mathematica", FontSlant->"Italic"], "'s representation for the set of arguments of a function taking several \ arguments. The difference to List can be seen from the following example" }], "Text"], Cell["A = Sequence[x,y,z]; B = List[x,y,z];", "Input"], Cell[CellGroupData[{ Cell["{a,A,b}", "Input"], Cell[BoxData[ \({a, x, y, z, b}\)], "Output"] }, Open ]], Cell[CellGroupData[{ Cell["{a,B,b}", "Input"], Cell[BoxData[ \({a, {x, y, z}, b}\)], "Output"] }, Open ]] }, Closed]], Cell[CellGroupData[{ Cell["Analysis of the command FilterOptions", "Section"], Cell["The command", "Text"], Cell["\<\ FilterOptions[ opts_List, options___ ] := \tSequence @@ Select[ Flatten[{options}], MemberQ[opts, First[#]]& ]\ \>", \ "Input"], Cell["\<\ takes a list of option names as the first argument. For \ example,\ \>", "Text"], Cell["\<\ optionnames = {AspectRatio, Frame, PlotLabel, PrecisionGoal};\ \>", \ "Input"], Cell["\<\ The pattern options___ matches zero or more arguments. Options are \ usually a sequence of rules. In our example, \ \>", "Text"], Cell[CellGroupData[{ Cell["\<\ optionsequence = Sequence[Axes->{True,False}, Frame->True, \ PlotLabel->\"Sine-Function\", AccuracyGoal->10]\ \>", "Input"], Cell[BoxData[ \(Sequence[Axes \[Rule] {True, False}, Frame \[Rule] True, PlotLabel \[Rule] "Sine-Function", AccuracyGoal \[Rule] 10]\)], "Output"] }, Open ]], Cell[CellGroupData[{ Cell["FilterOptions[ optionnames,optionsequence ]", "Input"], Cell[BoxData[ \(Sequence[Frame \[Rule] True, PlotLabel \[Rule] "Sine-Function"]\)], "Output"] }, Open ]], Cell["\<\ It returns just those options of the sequence, whose names are \ contained in the given list opts. How is this achieved? Consider first the \ command\ \>", "Text"], Cell[CellGroupData[{ Cell["Select[ {options}, MemberQ[optionnames, First[#]]& ]", "Input"], Cell[BoxData[ \({AspectRatio \[Rule] 1\/GoldenRatio, Frame \[Rule] False, PlotLabel \[Rule] None}\)], "Output"] }, Open ]], Cell["\<\ {options} creates a list from the given sequence \"options\" by \ adding the braces. The command Select[list,test] picks out those elements \ from the list, for which test gives \"True\". Here the test is MemberQ[opts, \ First[#]]&. It is applied to each element of the list {options}. If it gives \ \"True\", that element is kept, otherwise it is deleted. Thus the second \ argument of Select must be a function that can be applied to each element of \ the list and evaluates either to True or to False. Let us consider an example\ \ \>", "Text"], Cell[CellGroupData[{ Cell["options = Sequence @@ Options[Plot]", "Input"], Cell[BoxData[ \(Sequence[AspectRatio \[Rule] 1\/GoldenRatio, Axes \[Rule] Automatic, AxesLabel \[Rule] None, AxesOrigin \[Rule] Automatic, AxesStyle \[Rule] Automatic, Background \[Rule] Automatic, ColorOutput \[Rule] Automatic, Compiled \[Rule] True, DefaultColor \[Rule] Automatic, Epilog \[Rule] {}, Frame \[Rule] False, FrameLabel \[Rule] None, FrameStyle \[Rule] Automatic, FrameTicks \[Rule] Automatic, GridLines \[Rule] None, ImageSize \[Rule] Automatic, MaxBend \[Rule] 10.`, PlotDivision \[Rule] 30.`, PlotLabel \[Rule] None, PlotPoints \[Rule] 25, PlotRange \[Rule] Automatic, PlotRegion \[Rule] Automatic, PlotStyle \[Rule] Automatic, Prolog \[Rule] {}, RotateLabel \[Rule] True, Ticks \[Rule] Automatic, DefaultFont \[RuleDelayed] $DefaultFont, DisplayFunction \[RuleDelayed] $DisplayFunction, FormatType \[RuleDelayed] $FormatType, TextStyle \[RuleDelayed] $TextStyle]\)], "Output"] }, Open ]], Cell["\<\ (Here the operator @@ (\"Apply\") replaces the head List by the \ head Sequence).\ \>", "Text"], Cell["\<\ Now we map (/@) the test-function to the list \"{options}\". (The \ command Map or /@ applies the function to each element in the list).\ \>", \ "Text"], Cell[CellGroupData[{ Cell["MemberQ[optionnames, First[#]]& /@ {options}", "Input"], Cell[BoxData[ \({True, False, False, False, False, False, False, False, False, False, True, False, False, False, False, False, False, False, True, False, False, False, False, False, False, False, False, False, False, False}\)], "Output"] }, Open ]], Cell["\<\ Select keeps only those elements of the list {options} for which \ this test gives True:\ \>", "Text"], Cell[CellGroupData[{ Cell["Select[{options}, MemberQ[optionnames, First[#]]&]", "Input"], Cell[BoxData[ \({AspectRatio \[Rule] 1\/GoldenRatio, Frame \[Rule] False, PlotLabel \[Rule] None}\)], "Output"] }, Open ]], Cell[TextData[{ "This is the filtered list of options. We finally apply Sequence in order \ to return a sequence of options suitable for input to ", StyleBox["Mathematica", FontSlant->"Italic"], " commands." }], "Text"], Cell[CellGroupData[{ Cell["\<\ Sequence @@ Select[{options}, MemberQ[optionnames, \ First[#]]&]\ \>", "Input"], Cell[BoxData[ \(Sequence[AspectRatio \[Rule] 1\/GoldenRatio, Frame \[Rule] False, PlotLabel \[Rule] None]\)], "Output"] }, Open ]], Cell["\<\ Flattening the list {options} is done in case that the second \ argument \"options\" of FilterOptions is already given as a list. In that \ case {options} would be an expression of the form {{optionsequence}}. Flatten \ deletes the inner braces of the list.\ \>", "Text"], Cell["Next, consider the command", "Text"], Cell["\<\ FilterOptions[ command_Symbol, options___ ] := \tFilterOptions[ First /@ Options[command], options ]\ \>", "Input"], Cell["\<\ It just calles FilterOptions with the fist command being a list of \ option names. For example,\ \>", "Text"], Cell[CellGroupData[{ Cell["command = NIntegrate", "Input"], Cell[BoxData[ \(NIntegrate\)], "Output"] }, Open ]], Cell[CellGroupData[{ Cell["Options[command]", "Input"], Cell[BoxData[ RowBox[{"{", RowBox[{ RowBox[{"AccuracyGoal", "\[Rule]", InterpretationBox["\[Infinity]", DirectedInfinity[ 1]]}], ",", \(Compiled \[Rule] True\), ",", \(GaussPoints \[Rule] Automatic\), ",", \(MaxPoints \[Rule] Automatic\), ",", \(MaxRecursion \[Rule] 6\), ",", \(Method \[Rule] Automatic\), ",", \(MinRecursion \[Rule] 0\), ",", \(PrecisionGoal \[Rule] Automatic\), ",", \(SingularityDepth \[Rule] 4\), ",", \(WorkingPrecision \[Rule] 16\)}], "}"}]], "Output"] }, Open ]], Cell[CellGroupData[{ Cell["First /@ Options[command]", "Input"], Cell[BoxData[ \({AccuracyGoal, Compiled, GaussPoints, MaxPoints, MaxRecursion, Method, MinRecursion, PrecisionGoal, SingularityDepth, WorkingPrecision}\)], "Output"] }, Open ]], Cell["Now, let us try this:", "Text"], Cell[CellGroupData[{ Cell["optionsequence", "Input"], Cell[BoxData[ \(Sequence[Axes \[Rule] {True, False}, Frame \[Rule] True, PlotLabel \[Rule] "Sine-Function", AccuracyGoal \[Rule] 10]\)], "Output"] }, Open ]], Cell[CellGroupData[{ Cell["FilterOptions[NIntegrate, optionsequence]", "Input"], Cell[BoxData[ \(Sequence[AccuracyGoal \[Rule] 10]\)], "Output"] }, Open ]] }, Closed]], Cell[CellGroupData[{ Cell["Examples", "Section"], Cell["Prevent shadowing:", "Text"], Cell["Remove [FilterOptions]", "Input"], Cell["Load the package:", "Text"], Cell["<", "Input"], Cell[BoxData[ \({ComplexityFunction \[Rule] Automatic, TimeConstraint \[Rule] 300, TransformationFunctions \[Rule] Automatic, Trig \[Rule] True, Assumptions \[Rule] {}, GenerateConditions \[Rule] Automatic, PrincipalValue \[Rule] False, AspectRatio \[Rule] 1\/GoldenRatio, Axes \[Rule] Automatic, AxesLabel \[Rule] None, AxesOrigin \[Rule] Automatic, AxesStyle \[Rule] Automatic, Background \[Rule] Automatic, ColorOutput \[Rule] Automatic, Compiled \[Rule] True, DefaultColor \[Rule] Automatic, Epilog \[Rule] {}, Frame \[Rule] False, FrameLabel \[Rule] None, FrameStyle \[Rule] Automatic, FrameTicks \[Rule] Automatic, GridLines \[Rule] None, ImageSize \[Rule] Automatic, MaxBend \[Rule] 10.`, PlotDivision \[Rule] 30.`, PlotLabel \[Rule] None, PlotPoints \[Rule] 25, PlotRange \[Rule] Automatic, PlotRegion \[Rule] Automatic, PlotStyle \[Rule] Automatic, Prolog \[Rule] {}, RotateLabel \[Rule] True, Ticks \[Rule] Automatic, DefaultFont \[RuleDelayed] $DefaultFont, DisplayFunction \[RuleDelayed] $DisplayFunction, FormatType \[RuleDelayed] $FormatType, TextStyle \[RuleDelayed] $TextStyle}\)], "Output"] }, Open ]], Cell[CellGroupData[{ Cell["FilterOptions[Integrate,options]", "Input"], Cell[BoxData[ \(Sequence[Assumptions \[Rule] {}, GenerateConditions \[Rule] Automatic, PrincipalValue \[Rule] False]\)], "Output"] }, Open ]] }, Closed]] }, Open ]] }, Open ]] }, FrontEndVersion->"4.0 for Macintosh", ScreenRectangle->{{0, 1280}, {0, 1004}}, WindowSize->{779, 742}, WindowMargins->{{1, Automatic}, {Automatic, 1}}, PrintingCopies->1, PrintingPageRange->{1, Automatic}, StyleDefinitions -> "ArticleClassic.nb", MacintoshSystemPageSetup->"\<\ 00<0004/0B`000003;H8`_mooh/=<`Tk0fL5N`?P0080004/0B`000000]P2:001 0000I00000400`<30?l00BL?00400@00000000000000060801T1T00000000000 00000000004000000000000000000000\>" ] (*********************************************************************** Cached data follows. If you edit this Notebook file directly, not using Mathematica, you must remove the line containing CacheID at the top of the file. The cache data will then be recreated when you save this file from within Mathematica. ***********************************************************************) (*CellTagsOutline CellTagsIndex->{} *) (*CellTagsIndex CellTagsIndex->{} *) (*NotebookFileOutline Notebook[{ Cell[CellGroupData[{ Cell[1739, 51, 42, 0, 69, "Title"], Cell[1784, 53, 91, 4, 64, "Subsubsection"], Cell[CellGroupData[{ Cell[1900, 61, 184, 5, 107, "Subsubtitle"], Cell[CellGroupData[{ Cell[2109, 70, 26, 0, 57, "Section"], Cell[2138, 72, 451, 10, 42, "Text"], Cell[2592, 84, 563, 21, 290, "Program"] }, Closed]], Cell[CellGroupData[{ Cell[3192, 110, 118, 5, 31, "Section"], Cell[3313, 117, 203, 5, 26, "Text"], Cell[CellGroupData[{ Cell[3541, 126, 112, 3, 28, "Input"], Cell[3656, 131, 29989, 848, 186, 7837, 570, "GraphicsData", "PostScript", \ "Graphics"], Cell[33648, 981, 130, 3, 27, "Output"] }, Open ]], Cell[33793, 987, 603, 14, 56, "Text"], Cell[34399, 1003, 54, 0, 28, "Input"], Cell[CellGroupData[{ Cell[34478, 1007, 24, 0, 28, "Input"], Cell[34505, 1009, 49, 1, 27, "Output"] }, Open ]], Cell[CellGroupData[{ Cell[34591, 1015, 24, 0, 28, "Input"], Cell[34618, 1017, 51, 1, 27, "Output"] }, Open ]] }, Closed]], Cell[CellGroupData[{ Cell[34718, 1024, 56, 0, 31, "Section"], Cell[34777, 1026, 27, 0, 24, "Text"], Cell[34807, 1028, 137, 4, 43, "Input"], Cell[34947, 1034, 90, 3, 24, "Text"], Cell[35040, 1039, 88, 3, 28, "Input"], Cell[35131, 1044, 138, 3, 24, "Text"], Cell[CellGroupData[{ Cell[35294, 1051, 133, 3, 43, "Input"], Cell[35430, 1056, 157, 2, 27, "Output"] }, Open ]], Cell[CellGroupData[{ Cell[35624, 1063, 60, 0, 28, "Input"], Cell[35687, 1065, 104, 2, 27, "Output"] }, Open ]], Cell[35806, 1070, 173, 4, 24, "Text"], Cell[CellGroupData[{ Cell[36004, 1078, 69, 0, 28, "Input"], Cell[36076, 1080, 122, 2, 41, "Output"] }, Open ]], Cell[36213, 1085, 557, 9, 66, "Text"], Cell[CellGroupData[{ Cell[36795, 1098, 52, 0, 28, "Input"], Cell[36850, 1100, 1004, 16, 157, "Output"] }, Open ]], Cell[37869, 1119, 105, 3, 24, "Text"], Cell[37977, 1124, 162, 4, 24, "Text"], Cell[CellGroupData[{ Cell[38164, 1132, 61, 0, 28, "Input"], Cell[38228, 1134, 262, 4, 57, "Output"] }, Open ]], Cell[38505, 1141, 112, 3, 24, "Text"], Cell[CellGroupData[{ Cell[38642, 1148, 67, 0, 28, "Input"], Cell[38712, 1150, 122, 2, 41, "Output"] }, Open ]], Cell[38849, 1155, 229, 6, 26, "Text"], Cell[CellGroupData[{ Cell[39103, 1165, 89, 3, 28, "Input"], Cell[39195, 1170, 130, 2, 41, "Output"] }, Open ]], Cell[39340, 1175, 281, 5, 38, "Text"], Cell[39624, 1182, 42, 0, 24, "Text"], Cell[39669, 1184, 125, 3, 43, "Input"], Cell[39797, 1189, 119, 3, 24, "Text"], Cell[CellGroupData[{ Cell[39941, 1196, 37, 0, 28, "Input"], Cell[39981, 1198, 44, 1, 27, "Output"] }, Open ]], Cell[CellGroupData[{ Cell[40062, 1204, 33, 0, 28, "Input"], Cell[40098, 1206, 572, 11, 57, "Output"] }, Open ]], Cell[CellGroupData[{ Cell[40707, 1222, 42, 0, 28, "Input"], Cell[40752, 1224, 183, 3, 42, "Output"] }, Open ]], Cell[40950, 1230, 37, 0, 24, "Text"], Cell[CellGroupData[{ Cell[41012, 1234, 31, 0, 28, "Input"], Cell[41046, 1236, 157, 2, 27, "Output"] }, Open ]], Cell[CellGroupData[{ Cell[41240, 1243, 58, 0, 28, "Input"], Cell[41301, 1245, 67, 1, 27, "Output"] }, Open ]] }, Closed]], Cell[CellGroupData[{ Cell[41417, 1252, 27, 0, 31, "Section"], Cell[41447, 1254, 34, 0, 24, "Text"], Cell[41484, 1256, 39, 0, 28, "Input"], Cell[41526, 1258, 33, 0, 24, "Text"], Cell[41562, 1260, 43, 0, 28, "Input"], Cell[CellGroupData[{ Cell[41630, 1264, 56, 0, 28, "Input"], Cell[41689, 1266, 649, 11, 87, "Output"] }, Open ]], Cell[CellGroupData[{ Cell[42375, 1282, 95, 3, 28, "Input"], Cell[42473, 1287, 1244, 20, 197, "Output"] }, Open ]], Cell[CellGroupData[{ Cell[43754, 1312, 49, 0, 28, "Input"], Cell[43806, 1314, 141, 2, 27, "Output"] }, Open ]] }, Closed]] }, Open ]] }, Open ]] } ] *) (*********************************************************************** End of Mathematica Notebook file. ***********************************************************************)