MSparseArray_getExplicitValues (C Function)
is a library callback that that gives a pointer to an MTensor with the values corresponding to the explicitly stored positions in s.
- Used in C/C++ code in a library function called from the Wolfram Language.
- In most cases result will point to an an MTensor of rank 1 with length equal to the number of explicit positions in s.
- For a pattern sparse array where only positions are stored and there are no values, the result will point to a null (0) MTensor.