Re: A question about numerical-integration.lisp

2015-11-02 Thread Liam Healy
On Sun, Nov 1, 2015 at 10:59 PM, Alasdair McAndrew wrote: > Brilliant! - thank you so much - that works just as it should. Why cannot > the input to integration-qagp be simply a list or a vector? As in > > (gsll:integration-QAGp 'integration-test-f454 '(0.0d0 1.0d0 (sqrt 2.0d0) > 3.0d0) 0.0d0 1.

Re: A question about numerical-integration.lisp

2015-11-01 Thread David Catteeuw
On Nov 2, 2015 4:59 AM, "Alasdair McAndrew" wrote: > > Brilliant! - thank you so much - that works just as it should. Why cannot the input to integration-qagp be simply a list or a vector? As in > > (gsll:integration-QAGp 'integration-test-f454 '(0.0d0 1.0d0 (sqrt 2.0d0) 3.0d0) 0.0d0 1.0d-3 1000)

Re: A question about numerical-integration.lisp

2015-11-01 Thread Alasdair McAndrew
Brilliant! - thank you so much - that works just as it should. Why cannot the input to integration-qagp be simply a list or a vector? As in (gsll:integration-QAGp 'integration-test-f454 '(0.0d0 1.0d0 (sqrt 2.0d0) 3.0d0) 0.0d0 1.0d-3 1000) or (gsll:integration-QAGp 'integration-test-f454 (vector

Re: A question about numerical-integration.lisp

2015-11-01 Thread Liam Healy
On Sun, Nov 1, 2015 at 5:10 AM, Alasdair McAndrew wrote: > Hello, > > I am using the excellent gsll package (in the first instance), to provide > an interface to quadpack for the mathematics system FriCAS. I'm slowly > going through calculus/numerical-integration.lisp one function at a time > an

Re: A question about numerical-integration.lisp

2015-11-01 Thread Alasdair McAndrew
Thank you very much! It seems that grid (antik) is automatically loaded with gsll by quicklisp. But that doesn't seem to be the problem: both (grid:copy-to (vector 0.0d0 1.0d0 (sqrt 2.0d0) 3.0d0)) and (vector 0.0d0 1.0d0 (sqrt 2.0d0) 3.0d0) seem to give the same result - which should be the e

Re: A question about numerical-integration.lisp

2015-11-01 Thread David Catteeuw
Hi Alasdair, I guess grid refers to Antik's grids, a data type for matrices: https://www.common-lisp.net/project/antik/ Regards, david. On Sunday, 1 November 2015, Alasdair McAnd

A question about numerical-integration.lisp

2015-11-01 Thread Alasdair McAndrew
Hello, I am using the excellent gsll package (in the first instance), to provide an interface to quadpack for the mathematics system FriCAS. I'm slowly going through calculus/numerical-integration.lisp one function at a time and writing each one into FriCAS as I go. This means writing functions