MLPutIntegerArray()
Usage
• int MLPutIntegerArray(MLINK link, int *a, long *dims, char **heads, long d) 将一个整数数组发送到link指定的MathLink连接上,并形成一个层深为 d ,维数为dims的数组.
Notes
• 数组a在内存中以一个通过int a[m][n]... 明确声明的C数组存放. • 如果头部heads为NULL,该数组将被设定在每一层具有头部List. • 第i层的数组长度为dims[i]. • 参见 Mathematica 全书: 2.12.4节. • See also: MLPutIntegerList. • 同时参见: MLPutIntegerList.
|