WSPutReal32List (C Function)
int WSPutReal32List(WSLINK link,const float *a,int n)
puts a list of n single-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 single-precision floating-point numbers to a link */
void f(WSLINK lp)
{
float list[20];
int i;
for(i = 0; i < 20; i++)
list[i] = i + .9;
if(! WSPutReal32List(lp, (float *)list, 20))
{ /* unable to put the list to lp */ }
}