Function arrsso_distribute_memory#
Defined in File semisparse/array/base.h
Function Documentation#
-
void arrsso_distribute_memory(void *mem, uint64_t nrows, uint64_t ncols, ndir_t *p_nnz, ord_t order, flag_t flag, arrsso_t *res)#
Create an array filled with zeros, defined as sparse oti numbers. This is allocated given ammount of memory to allocate for each order, in p_nnz.
- Parameters:
mem – [in] Number of rows of the array.
ncols – [in] Number of columns of the array.
p_nnz – [in] Array with the number of im dir to allocate for each order.
order – [in] Truncation order of the array.
dhl – [in] Direction helper list object.