MathGroup Archive 2006

[Date Index] [Thread Index] [Author Index]

Search the Archive

question about options


Consider a built-in function e.g. NIntegrate.

I want to get information about those options of NIntegrate that take
numeric values.
I use the following setting

Options[NIntegrate]
Cases[%, HoldPattern[a_ -> (b_)?NumericQ]]
(Information[Evaluate[#1[[1]]]] & ) /@ %;

I want now to get information about those options of NIntegrate that
take numeric values
as well their default setting is infinity.
I use the following setting (since NumericQ[Infinity]->False)

Options[NIntegrate]
Cases[%, HoldPattern[a_ -> (b_)?NumericQ | _DirectedInfinity]]
(Information[Evaluate[#1[[1]]]] & ) /@ %;

How is it possible tto get the same thing without the need of
specifying the Head DirectedInfinity?

Thanks
Dimitris


  • Prev by Date: how reopen Welcome page in Workbench 1.0?
  • Next by Date: Integrate fails revised
  • Previous by thread: Re: how reopen Welcome page in Workbench 1.0?
  • Next by thread: Integrate fails revised