On 11/03/2015 12:51 AM, Alasdair McAndrew wrote:
> By the way, where is "per" defined?

>> (defun gslintegrationqng (per f a b)
>>   (apply (|mkLispFunction3| per) (multiple-value-list
>> (gsl:integration-qng (|mkLispFunction1| f) a b))))
>> ...
>>
>> -- gsl.spad
>> ...
>>     integrationQng: (DF -> DF,DF,DF) -> Record(result:DF, abserr:DF,
>> neval:Integer)
>>       ++ \spad{\integrationQng}  applies the Gauss-Kronrod 10-point,
>>       ++ 21-point, 43-point and 87-point integration rules in succession
>> ...
>>     integrationQng(f,a,b) == GSLINTEGRATIONQNG(
>>       -- convert returned values to Spad representation
>>       (v1:DF,v2:DF,v3:Integer):Record(result:DF, abserr:DF,
>> neval:Integer)+->[v1,v2,v3],
>>       f,a,b)$Lisp

As far as I can see, the definition of integrationQng calls
GSLINTEGRATIONQNG with 4 parameters. The first parameter is the per,
i.e. the (anonymous) function:

  (v1:DF,v2:DF,v3:Integer): Record(result:DF, abserr:DF,neval:Integer) _
      +->  [v1,v2,v3]

Ralf

-- 
You received this message because you are subscribed to the Google Groups 
"FriCAS - computer algebra system" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to fricas-devel+unsubscr...@googlegroups.com.
To post to this group, send email to fricas-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/fricas-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to