Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2006
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2006

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

Search the Archive

question about options

  • To: mathgroup at smc.vnet.net
  • Subject: [mg71436] question about options
  • From: "dimitris" <dimmechan at yahoo.com>
  • Date: Sat, 18 Nov 2006 04:41:07 -0500 (EST)

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