MTensor_disown


disowns a reference to an MTensor that was passed between a library function and Mathematica using shared memory management.

更多信息更多信息

  • Used in C/C++ code in a library function called from Mathematica.

范例范例打开所有单元关闭所有单元

基本范例 (1)基本范例 (1)

This disowns an MTensor:

MTensor T0;
...
libData->MTensor_disown( T0);
New to Mathematica? Find your learning path »
Have a question? Ask support »