Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2004
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2004

[Date Index] [Thread Index] [Author Index]

Search the Archive

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


  • Prev by Date: about Package
  • Next by Date: SymbolShape
  • Previous by thread: Re: about Package
  • Next by thread: Re: Using JLink to get a Complex number out