LibraryLink`
LibraryLink`

MSparseArray_getColumnIndices (C 函数)

is a library callback that gives a pointer to an MTensor with the column indices for the explicitly stored positions in s.

更多信息

  • Used in C/C++ code in a library function called from the Wolfram Language.
  • The result will point to an empty MTensor or an MTensor of rank 2 with integer type. The first dimension is the number of explicit positions, and the second dimension is equal to the rank of s minus 1.