Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #12125

Re: Gauss Quadrature

From Bob Hanlon <hanlonr357@gmail.com>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: Gauss Quadrature
Date 2012-10-20 07:23 +0000
Message-ID <k5tji2$3hf$1@smc.vnet.net> (permalink)
References <20121019064043.B5205689F@smc.vnet.net>
Organization Time-Warner Telecom

Show all headers | View raw


Specifying a precision rather than using machine precision appears to
resolve the issue.

$Version

"8.0 for Mac OS X x86 (64-bit) (October 5, 2011)"

Needs["NumericalDifferentialEquationAnalysis`"]

And @@ (
  Length[GaussianQuadratureWeights[#, 0, 1, 20]] == # & /@
   Range[150])

True

Even works when specifying a precision less than machine precision

And @@ (
  Length[GaussianQuadratureWeights[#, 0, 1, 10]] == # & /@
   Range[150])

True


Bob Hanlon


On Fri, Oct 19, 2012 at 2:40 AM, Brambilla Roberto Luigi (RSE)
<Roberto.Brambilla@rse-web.it> wrote:
> Hello friends,
>
>
>
> I have found that the following instructions  with Mathematica-8.0
>
>
>
> <<"NumericalDifferentialEquationAnalysis`"
>
>
>
> GaussianQuadratureWeights[n,0,1]
>
>
>
> does NOT work with the following values of n :
>
>
>
> 38  40  72  86  118  121  124  130 ...
>
>
>
> Then I stopped.
>
> The same command with ver.5.1 works fine with all numbers.
>
> Please, can some of you test this oddity ?
>
>
>
> Many thanks, Roberto
>
>
>

Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread


Thread

Re: Gauss Quadrature Bob Hanlon <hanlonr357@gmail.com> - 2012-10-20 07:23 +0000

csiph-web