is a library callback function that creates a new MTensor.
更多信息
范例
基本范例
技术笔记
LibraryLink`
MTensor_new (C 函数)
is a library callback function that creates a new MTensor.
更多信息
- Used in C/C++ code in a library function called from the Wolfram Language.
- A nonzero error code value will be returned if the dimensions are negative or there is not sufficient memory.