WSPutReal64List (C Function)
WSPutReal64List (C Function)
int WSPutReal64List(WSLINK link,const double *a,int n)
puts a list of n double-precision floating-point numbers starting from location a to the WSTP connection specified by link.
Examples
Basic Examples (1)
#include "wstp.h"
/* send a list of double-precision floating-point numbers to a link */
void f(WSLINK lp)
{
double list[20];
int i;
for(i = 0; i < 20; i++)
list[i] = i + .9;
if(! WSPutReal64List(lp, (double *)list, 20))
{ /* unable to put the list to lp */ }
}
See Also
C Functions: WSPutReal32List() WSPutReal128List()
History
Introduced in 2007 (6.0) | Updated in 2014 (10.0)