LibraryLink`
LibraryLink`

MTensor_free (C 函数)

is a library callback function that frees an MTensor.

更多信息

  • Used in C/C++ code in a library function called from the Wolfram Language.

范例

基本范例  (1)

This frees an MTensor:

MTensor T0;
...
libData->MTensor_free( T0);