Re: locally changing Options
- To: mathgroup at smc.vnet.net
- Subject: [mg108275] Re: locally changing Options
- From: Peter Pein <petsie at dordos.net>
- Date: Fri, 12 Mar 2010 07:11:20 -0500 (EST)
- References: <hnakgk$5oa$1@smc.vnet.net>
Am 11.03.2010 12:34, schrieb hemmecke: > In a function I'd like to temporarily say > > foo[x_]:=Module[{...}, > ... > SetOptions[RowReduce, Method->OneStepRowReduction]; > ... > ] > > without affecting the global setting for RowReduce when I call foo. > ... > > Ralf > Hi Ralf, There is a package "BlockOptions" at http://library.wolfram.com/infocenter/MathSource/5549/ It is used like (you might want to know before downloading): BlockOptions[{RowReduce}, SetOptions[RowReduce, what->ever, you->like]; ... RowReducing over and over again ... (* simply close the bracket and don't worry what you've done to the options of any of the functions in the list above *) ] Peter
- Follow-Ups:
- Re: Re: locally changing Options
- From: Leonid Shifrin <lshifr@gmail.com>
- Re: Re: locally changing Options