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