On 03/13/2016 02:36 PM, Laeeth Isharc wrote:

InterpContext context = new InterpContext();

     context.py_stmts(outdent("
         import numpy
         a = numpy.eye(2, dtype='complex128')
     "));

     context.a.to_d!(Complex!double[][] )();




nitpicking, but the outdent is unnecessary, py_stmts calls it.

hm. maybe that should be documented..

Reply via email to