[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #42037] Missing function integral
From: |
Tatsuro MATSUOKA |
Subject: |
[Octave-bug-tracker] [bug #42037] Missing function integral |
Date: |
Wed, 16 Jul 2014 02:03:17 +0000 |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/35.0.1916.153 Safari/537.36 |
Follow-up Comment #4, bug #42037 (project octave):
>The "WayPoint" feature is also implemented in quadcc.
I cannot find such description in help and manual concerning quadcc.
So I tried: (octave-3.8.1 on windows 7)
octave> quadgk (@(x) abs (1 - x.^2), 0, 2, "Waypoints", 1)
ans = 2.0000
I simply substitute quadgk by quadcc. The result is
octave> quadcc (@(x) abs (1 - x.^2), 0, 2, "Waypoints", 1)
error: quadcc: tolerance (TOL) must be a single real scalar > 0
It seems that "WayPoints" feature of quadcc seems not to be implemented in the
same way for quadgk.
I pull the code of quadcc.cc in the source tree and search by the keyword
'Waypoints' but nothing is found.
I also the error messages in quadcc.cc,
quadcc: integrand F must return a single, real-valued vector"
quadcc: integrand F must return a single, real-valued vector of the same size
as the input
MATLAB function 'integral' supports complex integral so that it can be used
only real case.
My observation, only quadgk can handle complex integral in octave.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?42037>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/