MSparseArray_getColumnIndices (C Function)

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.