MathGroup Archive 2006

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

Search the Archive

Re: NIntegrate and Sequence

  • To: mathgroup at smc.vnet.net
  • Subject: [mg63479] Re: NIntegrate and Sequence
  • From: albert <awnl at arcor.de>
  • Date: Tue, 3 Jan 2006 01:24:32 -0500 (EST)
  • References: <dp7tic$g42$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Hi,

> NIntegrate[r, {r, 14, Sequence @@ {16, 18}, 40}]
 
NIntegrate has the attribute HoldAll, which prevents Sequence from doing
it's work. The Following should work:

NIntegrate[r, Evaluate[{r, 14, Sequence @@ {16, 18}, 40}]]

albert


  • Prev by Date: Re: Displaying decimals
  • Next by Date: Re: List Manipulation
  • Previous by thread: Re: NIntegrate and Sequence
  • Next by thread: Using a palette to speed typesetting