errcode_t MNumericArray_clone(const MNumericArray in, MNumericArray *out)
is a library callback function that puts a clone of
into
.
更多信息
范例
基本范例
技术笔记
LibraryLink`
MNumericArray_clone (C 函数)
errcode_t MNumericArray_clone(const MNumericArray in, MNumericArray *out)
is a library callback function that puts a clone of
into
.
更多信息
- Used in C/C++ code in a library function called from the Wolfram Language.
- A nonzero error code value will be returned if there is not sufficient memory.
- The destination
should either be null (0) or an MNumericArray allocated with MNumericArray_new. - If
is null then a new MNumericArray is created. - If
is an allocated MNumericArray then the data in *out will be modified.