LibraryLink`
LibraryLink`

MNumericArray_shareCount (C 函数)

returns the number of sharing references to an MNumericArray held by the Wolfram Language.

更多信息

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

范例

基本范例  (1)

This returns the number of sharing references to an MNumericArray:

MNumericArray A0;
mint cnt;
...
cnt = libData->numericarrayLibraryFunctions->MNumericArray_shareCount(A0);