mcSTcellNumElements — Get the number of data elements of a sparse-table cell
#include <memcom.h> mcInt64 mcSTcellNumElements(int dsid, int row_index, mcInt64 column_index);
mcSTcellNumElements
returns, for the
sparse-table dataset identified by dsid
, the
number of data elements of the cell identified by the row index
row_index
and the column index
column_index
.
dsid (input)
Dataset identifier.
row_index (input)
Index of the row, starting at 1.
column_index (input)
Index of the column whose number of data elements is requested. Column indices start at 1.
If no error occurred, the number of data elements of this cell
is returned. For empty cells, 0 is returned. For fixed-sized
non-empty cells, the return value is equal to the
num_elements
parameter as obtained by calling
mcSTcolAttributes. If
an error occured, a negative value indicating the
MemCom error number is returned.