MathGroup Archive 2004

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

Search the Archive

Using JLink to get a Complex number out


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