MSparseArray_toMTensor (C 函数)
is a library callback function that expands s to an ordinary MTensor and puts the result into *t.
更多信息
技术笔记
LibraryLink`
MSparseArray_toMTensor (C 函数)
is a library callback function that expands s to an ordinary MTensor and puts the result into *t.
更多信息
- 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 MTensor allocated with MTensor_new. - If
is null then a new MTensor is created. - If
is an allocated MTensor then the data in
will be modified.