Google Answers Logo
View Question
 
Q: GAP and Java ( No Answer,   4 Comments )
Question  
Subject: GAP and Java
Category: Computers > Programming
Asked by: rndgroup-ga
List Price: $15.00
Posted: 02 Jan 2005 09:36 PST
Expires: 01 Feb 2005 09:36 PST
Question ID: 450449
Dear all,

GAP - http://www.gap-system.org

I am writing a Java program which I have to throw a set of GAP
commands for GAP to compute some group permutations, as GAP do not
have a Java API, can anyone give me some hints how can I achieve that?

The program will able to throw data to GAP, let GAP compute, and then
send the data back to my program and then display the result on my
program's GUI

Thanks

Request for Question Clarification by mathtalk-ga on 09 Jan 2005 08:58 PST
Hi, rndgroup-ga:

Would you like for me to post an elaboration on the Java to GAP
"connector" approach suggested below?

regards, mathtalk-ga

Clarification of Question by rndgroup-ga on 09 Jan 2005 17:33 PST
Sure thanks
Answer  
There is no answer at this time.

Comments  
Subject: Re: GAP and Java
From: vladimir-ga on 02 Jan 2005 10:27 PST
 
Have you seen this?

http://javamath.sourceforge.net/

Looks like it does what you need.

Vladimir
Subject: Re: GAP and Java
From: rndgroup-ga on 03 Jan 2005 23:58 PST
 
JavaMath has stopped development.
I need GAP's approach

thanks
Subject: Re: GAP and Java
From: mathtalk-ga on 04 Jan 2005 09:05 PST
 
Since the GAP package is command-line oriented, you may find that the
only practical approach is (some variation on) open a "shell" process
and work with the output as redirected to a file.

I suppose the weak point of this approach is in parsing the results
into semantically useful structures.  The OpenMath project, which is
at least tangentially connected with the JavaMath link posted by
vladimir-ga, is still active.

A Java to GAP "connector" can be downloaded from the Research
Institute for Applications of Computer Algebra:

http://www.riaca.win.tue.nl/products/gap/

regards, mathtalk-ga
Subject: Re: GAP and Java
From: rndgroup-ga on 04 Jan 2005 11:00 PST
 
Cheers Mathtalk!
You are always helpful :)

Having a look, will leave comment if i need more advice

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy