On Thu, 2005-12-29 at 08:15 -0800, James Matthew Miraflor wrote:
> Does anyone know how to make Java interface with Maple? There is an
> algorithm that I have coded as a function in Maple but I needed to
> call in Java. Is there a way for these two to pass data on each other?
> Thanks.
> 

This might be a suggestion which could lead to a very different mindset
when it comes to programming -- why not just implement the mathematical
function in pure Java instead of calling the function in MAPLE?

Since you already know the implementation of the function (which can be
converted almost but not always trivially to any other programming
langurage), then you'd benefit from a great performance gain and save
yourself from the dependency on MAPLE.

Another thing is if you need mathematical methods and classes, there are
a lot of libraries out there which might fit your needs better than just
implementing it in MAPLE and calling it in Java. It will save you both
time and effort by using other people's code which is already in
abundance out there.

"Hindi nakakabawas ng pagkalalaki ang pag-gamit ng libraries ng ibang
tao..." :D

HTH

Btw, I don't think the PLUG list is the best venue for this discussion
unless you need to implement your Java program with Linux specific
functionality (which IMO, shouldn't be in java if you intent to make it
platform specific and FAST).

/me loves C++.

-- 
Dean Michael C. Berris
Mobile +639287291459
URL http://mikhailberis.blogspot.com
YMID: mikhailberis

_________________________________________________
Philippine Linux Users' Group (PLUG) Mailing List
[email protected] (#PLUG @ irc.free.net.ph)
Read the Guidelines: http://linux.org.ph/lists
Searchable Archives: http://archives.free.net.ph

Reply via email to