Re: problem with MLGetReal64Array
- To: mathgroup at smc.vnet.net
- Subject: [mg84889] Re: problem with MLGetReal64Array
- From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
- Date: Fri, 18 Jan 2008 05:45:47 -0500 (EST)
- Organization: Uni Leipzig
- References: <fm9an9$ipe$1@smc.vnet.net> <fmf7q3$dm1$1@smc.vnet.net> <fmmklk$f0n$1@smc.vnet.net>
- Reply-to: kuska at informatik.uni-leipzig.de
Hi, no this is not a bug. You can connect two tasks via MathLink and *than*, without Mathematica or a running kernel you can send MLPutReal64Array() and get MLGetReal64Array() but the only function of the kernel is LinkWrite[] and only the developers know what C-functions are called by LinkWrite[] to transfer the data. But the most general case is the variant with nested lists and not the compact version because a general array can't be send with MLPutReal64Array() .. The fact that the kernel does not use a function of a library doesn not mean that the function has a bug. Regards Jens GS wrote: > Hi Jens, > > Thanks for the advice. That is exactly what I do now (I found one of > your earlier posts with this idea). However, the point of my posting > is that the Mathlink command MLPutReal64Array does not work as it is > described in the Mathematica tutorials (MLPutReal64List does work, and can be > used as a kludge replacement of the former). If I do not have mistakes > in my sample code, I have to declare that MLPutReal64Array has a bug. > I am wondering if anybody from Wolfram wants to comment on the issue. > > GS >