This is documentation for Mathematica 3, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)
 Documentation / Mathematica / The Mathematica Book / Reference Guide / Listing of C Functions in the MathLink Library  /

  • intMLGetRealArray(MLINKlink,double**a,long**dims,char***heads,long*d) gets an array of floating-point numbers from the MathLink connection specified by link, storing the array in a, its dimensions in dims and its depth in d.
  • The array a is laid out in memory like a C array declared as inta[m][n]... .
  • heads gives a list of character strings corresponding to the names of symbols that appear as heads at each level in the array.
  • MLGetRealArray() allocates memory which must be disowned by calling MLDisownRealArray().
  • External programs should not modify the arrays generated by MLGetRealArray().
  • See the Mathematica book: Section 2.12.4.