MSparseArray_getExplicitValues


is a library callback that that gives a pointer to an MTensor with the values corresponding to the explicitly stored positions in s.

DetailsDetails

  • Used in C/C++ code in a library function called from Mathematica.
  • 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.