implementing algorithm in C and call within Maple

I hope to reimplement an expensive algorithm in Maple over windows. The suggestion I got is to write it in C and call it inside Maple. However, the algorithm itself is quite complicated and the linux version uses saclib2.1 library which provides many useful implementations of numerical routines. 

I therefore wonder if Maple provides its own C or C++ math libraries, so that I don't need to implement everything by myself?

If, assume I implement sth. using saclib and it runs well under cygwin,  can it be called directly in Maple without any modification to the actual code if correctly compiled?

Thanks,

Peter 

gkokovidis's picture

Acer's Blog

This link from Acer's blog might be of use to you.

www.mapleprimes.com/blog/acer/quadraturefastbesselj0highparametervalues 

 

Regards,
Georgios Kokovidis
Dräger Medical


acer's picture

saclib

Isn't saclib a sort of (older, unmaintained?) symbolic algebra library? It's not clear whether you want fast hardware numerics, or faster exact symbolics than you get programming at Maple's "Library level". If it's the latter, then you might consider looking at the Maple help-page for ?OpenMaple.

acer

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
}