LibraryLink`
LibraryLink`

MTensor_free

is a library callback function that frees an MTensor.

Details and OptionsDetails
  • Used in C/C++ code in a library function called from Mathematica.
  • Examples

    Basic Examples  (1)

    This frees an MTensor:

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

    Tutorials