WSPutRealArray (C Function)

int WSPutRealArray(WSLINK link,const double *a,const long *dims,const char **heads,long d)

puts an array of floating-point numbers to the WSTP connection specified by link to form a depth-d array with dimensions dims.


  • The array a must be laid out in memory like a C array declared explicitly as .
  • If heads is given as NULL, the array will be assumed to have head List at every level.
  • The length of the array at level i is taken to be .
  • WSPutRealArray() is equivalent to WSPutReal64Array().