Using JLink to get a Complex number out
- To: mathgroup at smc.vnet.net
- Subject: [mg52882] Using JLink to get a Complex number out
- From: aaronfude at yahoo.com (Aaron Fude)
- Date: Wed, 15 Dec 2004 04:27:50 -0500 (EST)
- Sender: owner-wri-mathgroup at wolfram.com
Hi, Why does ml.getComplex() throw an exception in the following code? ml.evaluate("1+I"); ml.waitForAnswer(); System.out.println(myML.getComplex()); What is a good strategy for getting complex numbers out of Mathematica with JLink? Many thanks in advance! Aaron Fude