Mathematica 9 is now available
 Documentation / Mathematica / The Mathematica Book / Reference Guide / Listing of C Functions in the MathLink Library  /
MLGetIntegerArray()

  • intMLGetIntegerArray(MLINKlink,int**a,long**dims,char***heads,long*d) gets an array of integers 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.
  • MLGetIntegerArray() allocates memory which must be disowned by calling MLDisownIntegerArray().
  • External programs should not modify the arrays generated by MLGetIntegerArray().
  • See the Mathematica book: Section 2.12.4.
  • See also: MLGetIntegerListMLGetIntegerListMainBookLinkOldButtonDataMLGetIntegerList.



    Any questions about topics on this page? Click here to get an individual response.Buy NowMore Information
    THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
    SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.