MLPutReal64List (C Function)
MLPutReal64List has been replaced by WSPutReal64List.
int MLPutReal64List(MLINK link,const double *a,int n)
puts a list of n double-precision floating-point numbers starting from location a to the MathLink connection specified by link.
Details

- MLPutReal64List() returns 0 in the event of an error, and a nonzero value if the function succeeds.
- Use MLError() to retrieve the error code if MLPutReal64List() fails.
- MLPutReal64List() is declared in the MathLink header file mathlink.h.
Examples
Basic Examples (1)
#include "mathlink.h"
/* send a list of double-precision floating-point numbers to a link */
void f(MLINK lp)
{
double list[20];
int i;
for(i = 0; i < 20; i++)
list[i] = i + .9;
if(! MLPutReal64List(lp, (double *)list, 20))
{ /* unable to put the list to lp */ }
}