help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

how do detect a complex function?


From: Nicholas Jankowski
Subject: how do detect a complex function?
Date: Sat, 20 Jun 2020 16:28:30 -0400

regarding https://savannah.gnu.org/bugs/index.php?58636

integral calls quadcc, quadgk, quadv.  quadcc is the 'default' when there's nothing special, as i think it's faster than the others and generally applicable. it can't handle complex functions or limits, though, and integral fails to check for that.  the complex limit check is trivial, but I'm not sure how one would check for a complex function.

absent the ability to check, I could abandon use of quadcc (boo slow), or let quadcc try, catch the error, and if it's a complex related error redirect it to quadgk.  that seems messy and inefficient. 

suggestions?  

reply via email to

[Prev in Thread] Current Thread [Next in Thread]