This is documentation for Mathematica 8, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.1)
MATHEMATICA LIBRARYLINK C FUNCTION|Tutorials »

MTensor_free


is a library callback function that frees an MTensor.
  • Used in C/C++ code in a library function called from Mathematica.
This frees an MTensor:
This frees an MTensor:
MTensor T0;
...
libData->MTensor_free( T0);