MTensor_disown


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

DetailsDetails

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

ExamplesExamplesopen allclose all

Basic Examples  (1)Basic Examples  (1)

This disowns an MTensor:

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