WOLFRAM

LibraryLink`

MTensor_free (C Function)

LibraryLink`

is a library callback function that frees an MTensor.

Details

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

Examples

Basic Examples  (1)Summary of the most common use cases

This frees an MTensor:

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