MLPutReal128List (C 函数)
MLPutReal128List 已经被 WSPutReal128List 所取代.
int MLPutReal128List(MLINK link,mlextended_double *a,int n)
把从位置 a 开始的 n 个扩展精度浮点数列表写入由 link 指定的 MathLink 连接.
更多信息

- MLPutReal128List() 在错误事件中返回0,如果函数成功则返回非零值.
- 如果 MLPutReal128List() 失败,则使用 MLError() 检索错误代码.
- MLPutReal128List() 在 MathLink 标头文件 mathlink.h 中被声明.
范例
基本范例 (1)
#include "mathlink.h"
/* send a list of extended-precision floating-point numbers to a link */
void f(MLINK lp)
{
mlextended_double list[20];
int i;
for(i = 0; i < 20; i++)
list[i] = i + .9;
if(! MLPutReal128List(lp, (mlextended_double *)list, 20))
{ /* unable to put the list to lp */ }
}