On Wed, Mar 31, 2010 at 12:03 AM, Pedro Gonnet <address@hidden> wrote:
Writing it in C++ using the oct-file interface might be a good thing as
well.
This should not be a problem as I was planning on writing a C-language
version for the GNU Scientific Library anyway. I guess there is a
documentation somewhere for using this interface?
I advise you not to do it until it becomes apparent that the m-file
version can't be optimized to provide satisfactory performance.
Having algorithms in m-files has certain advantages, in particular
that it is easier for people to play with them.
If you come up with a version that can replace quad (if I understood
correctly, it suffices to add handling of singular points)
and adapt it somewhat to the coding standards (at least the major
points, i.e. consistent comments, specific block ends), I can help you
with optimizations, should any be needed.