Integration problem

David Bateman dbateman at dbateman.org
Sat Jan 10 16:36:54 CST 2009


Jordi Gutiérrez Hermoso wrote:
> 2009/1/10 Marcin Sleczka <marcin.sleczka at wp.pl>:
>   
>>
>> I found that I can't integrate complex function with use quad. What if int
>> will be complex function?
>>     
>
> Same way you integrate any other complex function... you turn it into
> a real one.
>
> What complex function are you integrating anyways? A line integral?
> Parametrise the curve and integrate along the real parameter.
> _______________________________________________
> Help-octave mailing list
> Help-octave at octave.org
> https://www-old.cae.wisc.edu/mailman/listinfo/help-octave
>
>   
The quadgk function in 3,1.51+ can explicitly handle complex contour 
integrals. You can take this function from 3.1.x and use it with 3.0.3 
without problems

D.

-- 
David Bateman                                dbateman at dbateman.org
35 rue Gambetta                              +33 1 46 04 02 18 (Home)
92100 Boulogne-Billancourt FRANCE            +33 6 72 01 06 33 (Mob)



More information about the Help-octave mailing list