MSparseArray_getRowPointers


get a pointer to the MTensor containing the row pointer array for s.

DetailsDetails

  • Used in C/C++ code in a library function called from Mathematica.
  • The result will point to an empty MTensor or an MTensor of rank 1 with integer type. Its length is equal to where is the number of rows of s, or for rank 1 s, the length is 2.
  • The values are the cumulative number of explicitly represented elements for each row, so the values will be nondecreasing for positions 0 through .